Skip to content

Commit ce3fb5e

Browse files
authored
Improvements to the build pipeline.
1 parent f9aeeac commit ce3fb5e

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515

16-
build:
16+
Build:
1717
runs-on: ubuntu-latest
1818

1919
steps:
@@ -57,9 +57,19 @@ jobs:
5757
- name: Run tests
5858
run: dotnet test --no-restore --verbosity normal --logger "TRX"
5959

60-
# Publish artefacts
61-
- name: Publish test results
60+
# Publish artefacts and test results
61+
62+
- name: Publish test log
6263
uses: actions/upload-artifact@v3
64+
if: always()
6365
with:
6466
name: test-results
6567
path: ${{ github.workspace }}/LogicAppUnit.Samples.LogicApps.Tests/TestResults/**.trx
68+
69+
- name: Publish test results
70+
uses: dorny/test-reporter@v1
71+
if: always()
72+
with:
73+
name: Tests
74+
path: ${{ github.workspace }}/LogicAppUnit.Samples.LogicApps.Tests/TestResults/**.trx
75+
reporter: dotnet-trx

0 commit comments

Comments
 (0)