File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ checks : write
14+ pull-requests : write
1215 services :
1316 sqlserver :
1417 image : mcr.microsoft.com/mssql/server:2022-latest
@@ -47,15 +50,18 @@ jobs:
4750 sudo apt-get install -y mssql-tools
4851 echo "/opt/mssql-tools/bin" >> $GITHUB_PATH
4952
50- - name : Install JUnit logger
51- run : dotnet tool install --global JUnitXml.TestLogger
52- shell : bash
53-
5453 - name : Run tests
5554 run : dotnet test PosInformatique.Testing.Databases.sln --configuration Release --no-build --logger "trx;LogFileName=test_results.trx" --results-directory ./TestResults
5655 env :
5756 SQL_SERVER_UNIT_TESTS_CONNECTION_STRING : " Data Source=localhost,1433;Database=master;User Id=sa;Password=P@ssw0rd12345!;TrustServerCertificate=True;"
5857 SQL_SERVER_UNIT_TESTS_OTHER_DATA_PATH : " /tmp/other_databases_path"
58+
59+ - name : Publish Test Results
60+ uses : EnricoMi/publish-unit-test-result-action@v2
61+ if : (!cancelled())
62+ with :
63+ files : |
64+ TestResults/**/*.xml
5965
6066 build-samples :
6167 runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments