Skip to content

Commit ba87942

Browse files
author
Petr Sramek
committed
fixed path
1 parent fff9093 commit ba87942

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
build-configuration: 'Release'
3333
build-platform: 'Any CPU'
3434
git-version: '6.0.x'
35-
test-result-directory: ${{ runner.temp }}/test-results
35+
test-result-directory: 'test-results'
3636

3737
jobs:
3838
versioning:
@@ -94,13 +94,7 @@ jobs:
9494
with:
9595
test-project-glob-pattern: ${{ vars.TEST_DEFAULT_GLOB_PATTERN }}
9696
test-runsettings-path: 'unit-test.runsettings'
97-
- name: Test with .NET
98-
run: dotnet test ${{ vars.TEST_DEFAULT_GLOB_PATTERN }} --configuration ${{ env.build-configuration }} --verbosity normal --settings -- --coverage --coverage-output-format cobertura --report-trx --results-directory ${{ runner.temp }}/test-results/
99-
- name: Upload Test Results
100-
uses: actions/upload-artifact@v4
101-
with:
102-
name: test-results
103-
path: ${{ runner.temp }}/test-results/*
97+
test-results-directory: ${{ runner.temp }}/${{ env.test-result-directory }}/
10498
# - run: dotnet tool install --global LiquidTestReports.Cli --prerelease
10599
# - run: ls -R ${{ runner.temp }}/test-results/
106100
# - run: liquid --inputs "Folder=${{ runner.temp }}/test-results/;File=**/*.trx;Format=Trx" --output-file ${{ runner.temp }}/test-results/test-report.md

0 commit comments

Comments
 (0)