mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Fix DebugLineNumbersTest and run it on extended test runs. (#1294)
This commit is contained in:
@@ -336,6 +336,7 @@ publishing {
|
||||
tasks.register('writeActionsTestMatrix') {
|
||||
doLast {
|
||||
def testMatrix = []
|
||||
def extendedTests = Boolean.parseBoolean(System.getenv('EXTENDED_TESTS') ?: 'false')
|
||||
file('src/test/groovy/net/fabricmc/loom/test/integration').eachFile {
|
||||
if (it.name.endsWith("Test.groovy")) {
|
||||
if (it.name.endsWith("ReproducibleBuildTest.groovy")) {
|
||||
@@ -343,7 +344,7 @@ tasks.register('writeActionsTestMatrix') {
|
||||
return
|
||||
}
|
||||
|
||||
if (it.name.endsWith("DebugLineNumbersTest.groovy")) {
|
||||
if (it.name.endsWith("DebugLineNumbersTest.groovy") && !extendedTests) {
|
||||
// Known flakey test
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user