Skip to content

Commit 0d7da54

Browse files
Fix CI.
1 parent c268f43 commit 0d7da54

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/github-actions-ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656
docker exec --user root $(docker ps -qf "ancestor=mcr.microsoft.com/mssql/server:2022-latest") chown -R mssql:mssql /tmp/other_databases_path
5757
5858
- name: Run tests
59-
run: |
59+
run: |
6060
dotnet test PosInformatique.Testing.Databases.sln \
6161
--configuration Release \
6262
--no-build \
63-
--logger "trx;LogFileName=test_results.trx" \
64-
--results-directory ./TestResults
63+
--results-directory ./TestResults \
64+
-- MSTest.PlatformArgs="--report-trx --report-trx-filename test_results.trx" \
6565
env:
6666
SQL_SERVER_UNIT_TESTS_CONNECTION_STRING: "Data Source=localhost,1433;Database=master;User Id=sa;Password=P@ssw0rd12345!;TrustServerCertificate=True;"
6767
SQL_SERVER_UNIT_TESTS_OTHER_DATA_PATH: "/tmp/other_databases_path/"

tests/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<!-- Add the support Microsoft Test Platform -->
1717
<PropertyGroup>
18-
<UseMicrosoftTestingPlatformRunner>false</UseMicrosoftTestingPlatformRunner>
18+
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
1919
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
2020
</PropertyGroup>
2121

0 commit comments

Comments
 (0)