Skip to content

Commit 4c9cad7

Browse files
Update github-actions-ci.yaml
1 parent c4a9422 commit 4c9cad7

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,18 @@ jobs:
4646
echo "/opt/mssql-tools/bin" >> $GITHUB_PATH
4747
4848
- name: Run tests
49-
run: dotnet test PosInformatique.Testing.Databases.sln --configuration Release --no-build
49+
run: dotnet test PosInformatique.Testing.Databases.sln --configuration Release --no-build --logger "junit;LogFilePath=./TestResults/junit.xml"
5050
env:
5151
SQL_SERVER_UNIT_TESTS_CONNECTION_STRING: "Data Source=localhost,1433;Database=master;User Id=sa;Password=P@ssw0rd12345!;TrustServerCertificate=True;"
5252

53+
- name: Publish tests report
54+
uses: dorny/test-reporter@v1
55+
if: always()
56+
with:
57+
name: PosInformatique.Testing.Databases
58+
path: ./TestResults/junit.xml
59+
reporter: jest-junit
60+
5361
build-samples:
5462
runs-on: windows-latest
5563
steps:

0 commit comments

Comments
 (0)