Skip to content

Commit

Permalink
Change test results directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fredimachado committed May 25, 2024
1 parent b30cc27 commit ec44695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/admin-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
id: test
run: >
dotnet test ../**.Tests/**.csproj
--results-directory ./TestResults --blame
--results-directory ${{github.workspace}}/TestResults --blame
--logger console --logger trx --logger html
--logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true"
'/p:CollectCoverage=true;CoverletOutputFormat="json,lcov,cobertura";MergeWith=./TestResults/coverage.json;CoverletOutput=./TestResults/coverage'
'/p:CollectCoverage=true;CoverletOutputFormat="json,lcov,cobertura";MergeWith=${{github.workspace}}/TestResults/coverage.json;CoverletOutput=${{github.workspace}}/TestResults/coverage'
--
RunConfiguration.CollectSourceInformation=true
Expand All @@ -67,7 +67,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: TestResults
path: ./TestResults
path: ${{github.workspace}}/TestResults

- name: Build
run: dotnet build -c Release --no-restore /p:CopyLocalLockFileAssemblies=true
Expand Down

0 comments on commit ec44695

Please sign in to comment.