Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Szer committed Jun 14, 2024
1 parent ad93ed6 commit a34a019
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and test
name: CI

on:
pull_request:
Expand All @@ -23,8 +23,8 @@ jobs:
- name: Upload dotnet test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results
path: TestResults
name: test-results
path: "**/*.trx"
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-azure-acr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy a container to an Azure Container Registry
name: CD

on:
push:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/test-results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test results

on:
# Run this workflow after the testing workflow completes
workflow_run:
workflows:
- CI
- CD
types:
- completed

jobs:
build:
runs-on: ubuntu-latest
steps:
# Extract the test result files from the artifacts
- uses: dorny/test-reporter@v1
with:
name: Test results
artifact: test-results
path: "**/*.trx"
reporter: dotnet-trx
fail-on-error: true

0 comments on commit a34a019

Please sign in to comment.