Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas authored Dec 3, 2024
1 parent b078a59 commit e6930ac
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@ jobs:
dotnet-version: 8.x
- name: Test
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.cobertura.xml
files: ./coverage.cobertura.xml
directory: ./tests/Translator.UnitTests
fail_ci_if_error: true
verbose: true

- name: Upload coverage reports to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
fail-on-error: true
debug: true
measure: true

0 comments on commit e6930ac

Please sign in to comment.