Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hutch79 committed Aug 20, 2024
1 parent eeca730 commit bf5a7e0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ jobs:

- name: Build
run: dotnet build --no-restore
#
# - name: Test
# run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
#
# - name: Find coverage reports
# id: find-reports
# run: |
# echo "::set-output name=paths::$(find ${{ github.workspace }} -name "coverage.cobertura.xml")"
#
# - name: Send coverage-reports to Codacy
# uses: codacy/codacy-coverage-reporter-action@v1.3.0
# with:
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# coverage-reports: ${{ steps.find-reports.outputs.paths }}

- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"

- name: Find coverage reports
id: find-reports
run: |
echo "::set-output name=paths::$(find ${{ github.workspace }} -name "coverage.cobertura.xml")"
- name: Send coverage-reports to Codacy
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ${{ steps.find-reports.outputs.paths }}

- name: Configure PostgreSQL Credentials
run: |
Expand Down

0 comments on commit bf5a7e0

Please sign in to comment.