Skip to content

Commit

Permalink
Use multiple jobs in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
renzo-baasdam committed Mar 19, 2024
1 parent ff92610 commit d6aa666
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/build-test.yaml
Expand Up @@ -73,3 +73,14 @@ jobs:
with:
name: test-results
path: '**/test-results.trx'
report:
runs-on: ubuntu-latest
needs: build
if: ${{ success() || failure() }}
steps:
- uses: dorny/test-reporter@v1
with:
artifact: test-results
name: Unit test results
path: '**/*.trx'
reporter: dotnet-trx
6 changes: 5 additions & 1 deletion .github/workflows/test-report.yml
@@ -1,5 +1,9 @@
name: 'Test Report'
on: [push]
on:
workflow_run:
workflows: ['Build']
types:
- completed
jobs:
report:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d6aa666

Please sign in to comment.