Skip to content

Commit

Permalink
Update Publish-Nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored Nov 20, 2023
1 parent ef1a855 commit 7c5569e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Publish-Nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Test Packages
if: ${{ github.ref != 'refs/heads/main' && github.event_name != 'push' }}
run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --logger "xunit;LogFilePath=test-results/results.xml" --no-build --no-restore --results-directory ./coverage
run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --no-build --no-restore --results-directory ./test-results
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORGANIZATION_ID: ${{ secrets.OPENAI_ORGANIZATION_ID }}
Expand All @@ -57,7 +57,7 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' && github.event_name != 'push' && always() }}
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: "test-results/**/*.xml"
files: test-results/**/*.xml
comment_mode: off
report_individual_runs: true
compare_to_earlier_commit: false
Expand All @@ -66,7 +66,7 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' && github.event_name != 'push' && always() }}
uses: irongut/[email protected]
with:
filename: coverage/**/coverage.cobertura.xml
filename: test-results/**/coverage.cobertura.xml
badge: true
format: 'markdown'
output: 'both'
Expand Down

0 comments on commit 7c5569e

Please sign in to comment.