Skip to content

Commit

Permalink
chore: Update dotnetcore.yml workflow to use dotnet version 8.0.x and…
Browse files Browse the repository at this point in the history
… fix TRX to JUnit conversion
  • Loading branch information
Puchaczov committed Jun 22, 2024
1 parent 910a164 commit 581733b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install trx2junit
run: dotnet tool install -g trx2junit
- name: Build & Run tests
run: dotnet test --configuration Release --logger "trx;LogFileName=test-results.trx"
run: dotnet test --configuration Release --filter Name~CheckEmptyString_ShouldReturnWordToken --logger "trx;LogFileName=test-results.trx"
- name: Convert TRX to JUnit
run: |
$trxFiles = Get-ChildItem -Recurse -Filter test-results.trx
Expand Down Expand Up @@ -64,6 +64,7 @@ jobs:
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
rm -f badges/tests-badge.svg
mv tests-badge.svg badges/tests-badge.svg
git add badges/tests-badge.svg
git commit -m "Update test results badge [skip ci]"
Expand Down

0 comments on commit 581733b

Please sign in to comment.