Skip to content

Commit 4af1b9b

Browse files
Fix CI.
1 parent 19757c9 commit 4af1b9b

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/github-actions-ci.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
1213
permissions:
1314
checks: write
1415
pull-requests: write
16+
1517
steps:
1618
- uses: actions/checkout@v4
1719

@@ -29,13 +31,25 @@ jobs:
2931
--configuration Release \
3032
--no-restore
3133
32-
- name: Run tests
34+
- name: Run tests (.NET 8.0)
35+
run: |
36+
dotnet test PosInformatique.Foundations.slnx \
37+
--configuration Release \
38+
--no-build \
39+
--logger "trx;LogFileName=test_results.trx" \
40+
--results-directory ./TestResults \
41+
--collect "XPlat Code Coverage" \
42+
--framework net8.0
43+
44+
- name: Run tests (.NET 9.0)
3345
run: |
3446
dotnet test PosInformatique.Foundations.slnx \
3547
--configuration Release \
3648
--no-build \
3749
--logger "trx;LogFileName=test_results.trx" \
38-
--results-directory ./TestResults
50+
--results-directory ./TestResults \
51+
--collect "XPlat Code Coverage" \
52+
--framework net9.0
3953
4054
- name: Publish Test Results
4155
uses: EnricoMi/publish-unit-test-result-action@v2

0 commit comments

Comments
 (0)