From 01ffcfd9770e4fccec022d1b8309a4be9cfbe678 Mon Sep 17 00:00:00 2001 From: J08nY Date: Thu, 8 Aug 2024 10:06:17 +0200 Subject: Try to see what goes wrong in the tests. --- .github/workflows/build.yml | 17 +++++++++++++++++ standalone/build.gradle.kts | 2 ++ 2 files changed, 19 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de3f6cb..7594eb8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -205,8 +205,25 @@ jobs: path: | standalone/build/results/ + - name: Upload tests + uses: actions/upload-artifact@v4 + with: + name: tests-standalone-${{ matrix.java }} + path: | + standalone/build/reports/tests/test/ + - name: Upload code coverage uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} slug: crocs-muni/ECTester + + - name: Upload code coverage + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: crocs-muni/ECTester + files: >- + standalone/test-results/test/TEST-cz.crcs.ectester.standalone.AppTests.xml, standalone/test-results/test/TEST-cz.crcs.ectester.standalone.DeterministicTests.xml, + standalone/test-results/test/TEST-cz.crcs.ectester.standalone.IdentTests.xml, standalone/test-results/test/TEST-cz.crcs.ectester.standalone.LibTests.xml, + standalone/test-results/test/TEST-cz.crcs.ectester.standalone.OutputTests.xml, diff --git a/standalone/build.gradle.kts b/standalone/build.gradle.kts index d485bcb..35ae3e5 100644 --- a/standalone/build.gradle.kts +++ b/standalone/build.gradle.kts @@ -41,6 +41,8 @@ tasks.named("test") { resultsDir.mkdirs(); } useJUnitPlatform() + ignoreFailures = true + failFast = false // Report is always generated after tests run finalizedBy(tasks.named("testCodeCoverageReport")) -- cgit v1.2.3-70-g09d2