Skip to content

Commit

Permalink
Upload CI hang-blame test-results
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Oct 19, 2023
1 parent 18638be commit f3cf95c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/lexbox-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lexbox-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f3cf95c

Please sign in to comment.