Skip to content

Commit cdebb2e

Browse files
Update github-actions-ci.yaml
1 parent 89056e8 commit cdebb2e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ 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: dotnet test PosInformatique.Testing.Databases.sln --configuration Release --no-build --logger "trx;LogFileName=test_results.trx" --results-directory ./TestResults
59+
run: dotnet run --project tests/PosInformatique.Testing.Databases/PosInformatique.Testing.Databases.csproj -- \
60+
--report-trx \
61+
--report-trx-filename test_results.trx \
62+
--results-directory ./TestResults
6063
env:
6164
SQL_SERVER_UNIT_TESTS_CONNECTION_STRING: "Data Source=localhost,1433;Database=master;User Id=sa;Password=P@ssw0rd12345!;TrustServerCertificate=True;"
6265
SQL_SERVER_UNIT_TESTS_OTHER_DATA_PATH: "/tmp/other_databases_path/"

0 commit comments

Comments
 (0)