diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 6a5c9211d..cfac43b8f 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -61,7 +61,7 @@ jobs: env: ZIP_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }} run: 7z a ./playwright-traces.7z ./bin/playwright-traces/*.* -p"$ZIP_PASSWORD" - - name: Upload test results + - name: Publish unit test results uses: EnricoMi/publish-unit-test-result-action/composite@v2 if: always() && !env.act with: diff --git a/.github/workflows/lexbox-api.yaml b/.github/workflows/lexbox-api.yaml index 77fef42d4..f6ae19f30 100644 --- a/.github/workflows/lexbox-api.yaml +++ b/.github/workflows/lexbox-api.yaml @@ -62,12 +62,18 @@ jobs: run: dotnet build - name: Unit tests run: dotnet test --logger xunit --results-directory ./test-results --filter "Category!=Integration" --blame-hang-timeout 10m - - name: Upload test results + - name: Publish unit test results uses: EnricoMi/publish-unit-test-result-action@v2 if: always() with: check_name: C# Unit Tests files: ./test-results/*.xml + - name: Upload test results + if: always() + uses: actions/upload-artifact@v3 + with: + name: dotnet-unit-test-results + path: ./test-results - name: Set Version id: setVersion diff --git a/.github/workflows/lexbox-ui.yaml b/.github/workflows/lexbox-ui.yaml index 0ef03d1c8..1f504d48d 100644 --- a/.github/workflows/lexbox-ui.yaml +++ b/.github/workflows/lexbox-ui.yaml @@ -44,7 +44,7 @@ jobs: working-directory: ./frontend run: | pnpm run test:unit --reporter=default --reporter=junit --outputFile.junit=test-results/vitest-results.xml - - name: Upload test results + - name: Publish unit test results uses: EnricoMi/publish-unit-test-result-action@v2 if: always() with: