From 7eb2b8f40e5dd0d564802b97aae3a4cf6d789e7c Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 10:47:04 +0200 Subject: [PATCH 01/12] removed old test trigger and added pom config for running rascal tests directly --- pom.xml | 85 ++++++++++++--------------- src/lang/flybytes/tests/RunTests.java | 11 ---- 2 files changed, 36 insertions(+), 60 deletions(-) delete mode 100644 src/lang/flybytes/tests/RunTests.java diff --git a/pom.xml b/pom.xml index 0bbdb7f..7cdec7f 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ org.rascalmpl rascal-maven-plugin - 0.31.0 + 0.32.0-RC4-SNAPSHOT ${project.build.outputDirectory} @@ -65,6 +65,20 @@ package + + flybytes-test + test + + true + 10 + + ${project.basedir}/src/lang/flybytes/tests/MirrorTests.rsc + + + + test + + default-cli compile @@ -87,53 +101,26 @@ - - org.apache.maven.plugins - maven-surefire-plugin - 3.5.3 - - - test - test - - - -ea - -Xmx2G - -Xss128m - -Dfile.encoding=UTF-8 - - - **/*Tests.java - - ${basedir}/src/ - - - test - - - - - - - org.apache.maven.plugins - maven-release-plugin - 3.1.1 - - v@{project.version} - -Drascal.compile.skip -DskipTests -Drascal.tutor.skip - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.9.0 - - -parameters - 11 - - - - + + org.apache.maven.plugins + maven-release-plugin + 3.1.1 + + v@{project.version} + -Drascal.compile.skip -DskipTests -Drascal.tutor.skip + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.9.0 + + -parameters + 11 + + + + @@ -163,7 +150,7 @@ org.rascalmpl rascal - 0.43.0-RC1 + 0.43.0-RC10 org.ow2.asm diff --git a/src/lang/flybytes/tests/RunTests.java b/src/lang/flybytes/tests/RunTests.java deleted file mode 100644 index de2fd47..0000000 --- a/src/lang/flybytes/tests/RunTests.java +++ /dev/null @@ -1,11 +0,0 @@ -package lang.flybytes.tests; - -import org.junit.runner.RunWith; -import org.rascalmpl.test.infrastructure.RascalJUnitTestPrefix; -import org.rascalmpl.test.infrastructure.RascalJUnitTestRunner; - -@RunWith(RascalJUnitTestRunner.class) -@RascalJUnitTestPrefix("lang::flybytes::tests") -public class RunTests { - -} From 1df6dde361e049a364be1ad8156ec2fb123e4b6d Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 10:49:50 +0200 Subject: [PATCH 02/12] show the results --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c85e1b4..811a88b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,6 +26,10 @@ jobs: - name: Test with Maven run: mvn -B --update-snapshots compile test + - name: Publish Test Reports + if: success() || failure() + uses: ScalableCapital/action-surefire-report@v2 + - name: Attach artifact id: build-artifact uses: SWAT-engineering/maven-full-artifacts-action@v1 From 1ff46191070aeaef3145ff5d597084de9c56ce0a Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 10:57:38 +0200 Subject: [PATCH 03/12] use the rigth version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7cdec7f..94421b1 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ org.rascalmpl rascal-maven-plugin - 0.32.0-RC4-SNAPSHOT + 0.32.0-RC4 ${project.build.outputDirectory} From 3e335990fa60f9e6e448cd2018511ccbef13d348 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 11:00:18 +0200 Subject: [PATCH 04/12] removed dead dependency --- pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pom.xml b/pom.xml index 94421b1..8077348 100644 --- a/pom.xml +++ b/pom.xml @@ -142,11 +142,6 @@ - - junit - junit - 4.13.1 - org.rascalmpl rascal From 0e882d5590e33743ff855baed33f24844978e7ac Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 11:52:56 +0200 Subject: [PATCH 05/12] bumped rascal --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8077348..61bf8e8 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ org.rascalmpl rascal-maven-plugin - 0.32.0-RC4 + 0.32.0-RC5 ${project.build.outputDirectory} @@ -145,7 +145,7 @@ org.rascalmpl rascal - 0.43.0-RC10 + 0.43.0-RC11 org.ow2.asm From 28855651ffb72f475b1a5611d54f174fd21cd570 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:05:03 +0200 Subject: [PATCH 06/12] drop the mvn Downloading lines --- .github/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 811a88b..eb6d95c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,6 +9,9 @@ on: branches: - main +env: + MAVEN_OPTS: "-Xmx4G -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true" + jobs: builds: if: ${{ !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[maven-release-plugin]')) }} From d3ed207da8ea18405f32b54b220ee486a84142c9 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:17:08 +0200 Subject: [PATCH 07/12] different kind of reporter --- .github/workflows/build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index eb6d95c..a6d3525 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,8 +30,12 @@ jobs: run: mvn -B --update-snapshots compile test - name: Publish Test Reports - if: success() || failure() - uses: ScalableCapital/action-surefire-report@v2 + if: ${{ !cancelled() }} + uses: dorny/test-reporter@v3 + with: + name: Rascal Tests + path: target/surefire-reports/TEST-*.xml + reporter: jest-junit - name: Attach artifact id: build-artifact From 6d2c16790515ef41dca4f7782a23f40345a50c31 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:17:44 +0200 Subject: [PATCH 08/12] speed up --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a6d3525..1a5a980 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,7 +27,7 @@ jobs: cache: 'maven' - name: Test with Maven - run: mvn -B --update-snapshots compile test + run: mvn -B --update-snapshots compile test -Drascal.compile.skip -Drascal.tutor.skip # watch remove before merge - name: Publish Test Reports if: ${{ !cancelled() }} From 17ae2dcf79c412857fdc8bc8eca3248f233279c8 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:21:54 +0200 Subject: [PATCH 09/12] fixed path --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1a5a980..95106d1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,7 +34,7 @@ jobs: uses: dorny/test-reporter@v3 with: name: Rascal Tests - path: target/surefire-reports/TEST-*.xml + path: **/target/surefire-reports/TEST-*.xml reporter: jest-junit - name: Attach artifact From 2b4feb6fdb12589376472605d346ac34cf8aabb0 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:23:20 +0200 Subject: [PATCH 10/12] quotes --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 95106d1..4c4c29c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,7 +34,7 @@ jobs: uses: dorny/test-reporter@v3 with: name: Rascal Tests - path: **/target/surefire-reports/TEST-*.xml + path: '**/target/surefire-reports/TEST-*.xml' reporter: jest-junit - name: Attach artifact From 97a980de01cc6c2403cbbddf9b19f0652eff797d Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:28:54 +0200 Subject: [PATCH 11/12] yet another reporter --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4c4c29c..2efd0b4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,11 +31,10 @@ jobs: - name: Publish Test Reports if: ${{ !cancelled() }} - uses: dorny/test-reporter@v3 + uses: ctrf-io/github-test-reporter@v1 with: - name: Rascal Tests - path: '**/target/surefire-reports/TEST-*.xml' - reporter: jest-junit + report-path: 'target/surefire-reports/*.xml' + github-report: true - name: Attach artifact id: build-artifact From c1da9aaffabab96f03150de300e4f2a9cc27ebf7 Mon Sep 17 00:00:00 2001 From: "Jurgen J. Vinju" Date: Mon, 10 Aug 2026 12:30:37 +0200 Subject: [PATCH 12/12] more advanced report --- .github/workflows/build.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2efd0b4..8fda0f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,6 +35,14 @@ jobs: with: report-path: 'target/surefire-reports/*.xml' github-report: true + summary-delta-report: true + insights-report: true + flaky-rate-report: true + fail-rate-report: true + slowest-report: true + upload-artifact: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Attach artifact id: build-artifact