Skip to content

Commit e401edc

Browse files
committed
new version
1 parent 048d4ad commit e401edc

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/build_sln.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
tekla: [2020] #[2020, 2021, 2022, 2023, 2024, 2025]
19+
tekla: [2020, 2021, 2022, 2023, 2024, 2025]
2020

2121
steps:
2222
- name: Checkout
@@ -46,23 +46,22 @@ jobs:
4646
4747
- name: Run tests
4848
run: >
49-
vstest.console.exe
50-
"Tekla.Extension.Tests\bin\${{ matrix.tekla }}\x64\net48\Tekla.Extension.Tests.dll"
51-
/Logger:trx
52-
/ResultsDirectory:"TestResults\${{ matrix.tekla }}"
49+
dotnet test "Tekla.Extension.Tests\bin\${{ matrix.tekla }}\x64\net48\Tekla.Extension.Tests.dll"
50+
--logger "trx;LogFileName=results.trx"
51+
--results-directory "${{ github.workspace }}/TestResults/${{ matrix.tekla }}"
5352
5453
- name: Publish test results
5554
uses: dorny/test-reporter@v1
5655
if: always()
5756
with:
5857
name: Tests – Tekla ${{ matrix.tekla }}
59-
path: "TestResults\\${{ matrix.tekla }}\\results.trx"
58+
path: "TestResults/${{ matrix.tekla }}/results.trx"
6059
reporter: dotnet-trx
6160

6261
- name: Upload test artefact
6362
uses: actions/upload-artifact@v4
6463
if: always()
6564
with:
6665
name: test-results-${{ matrix.tekla }}
67-
path: "TestResults\\${{ matrix.tekla }}\\results.trx"
66+
path: "TestResults/${{ matrix.tekla }}/results.trx"
6867
if-no-files-found: warn

0 commit comments

Comments
 (0)