From ec446954636d0240f954f8b6c56167302e4e2148 Mon Sep 17 00:00:00 2001 From: Fredi Machado Date: Sat, 25 May 2024 19:28:03 +1000 Subject: [PATCH] Change test results directory --- .github/workflows/admin-api.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/admin-api.yml b/.github/workflows/admin-api.yml index bc6ea33..cf3d18f 100644 --- a/.github/workflows/admin-api.yml +++ b/.github/workflows/admin-api.yml @@ -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 @@ -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