Fix DebugLineNumbersTest and run it on extended test runs. (#1294)

This commit is contained in:
modmuss
2025-04-25 19:14:38 +01:00
committed by GitHub
parent cc31f1c849
commit e62b8692d3
4 changed files with 7 additions and 5 deletions

View File

@@ -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
}