File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,17 +52,22 @@ jobs:
5252 shell : bash
5353
5454 - name : Run tests
55- run : dotnet test PosInformatique.Testing.Databases.sln --configuration Release --no-build --logger "junit;LogFilePath=. /TestResults/junit.xml"
55+ run : dotnet test PosInformatique.Testing.Databases.sln --configuration Release --no-build --logger "trx;LogFileName=test_results.trx" --results-directory . /TestResults
5656 env :
5757 SQL_SERVER_UNIT_TESTS_CONNECTION_STRING : " Data Source=localhost,1433;Database=master;User Id=sa;Password=P@ssw0rd12345!;TrustServerCertificate=True;"
5858 SQL_SERVER_UNIT_TESTS_OTHER_DATA_PATH : " /tmp/other_databases_path"
5959
60+ - name : Convert TRX to JUnit
61+ uses : NasAmin/trx2junit@v3.0.0
62+ with :
63+ input : ./TestResults
64+
6065 - name : Publish tests report
6166 uses : dorny/test-reporter@v1
6267 if : always()
6368 with :
6469 name : PosInformatique.Testing.Databases
65- path : ./TestResults/junit .xml
70+ path : ./TestResults/* .xml
6671 reporter : jest-junit
6772
6873 build-samples :
You can’t perform that action at this time.
0 commit comments