View the test results
All checks were successful
Dotnet build and test / build (pull_request) Successful in 17m5s

This commit is contained in:
Paul Schneider 2026-09-25 23:05:16 +01:00
commit 70f8b7986e
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12

View file

@ -50,9 +50,20 @@ jobs:
echo "🏗️ Building the solution..." echo "🏗️ Building the solution..."
cd /src/_src && dotnet build --verbosity normal cd /src/_src && dotnet build --verbosity normal
- name: Test - name: Test
artifacts:
name: test-results
path: test-results.html
run: | run: |
echo "🚀 Lancement des tests..." echo "🚀 Lancement des tests..."
cd /src/_src && dotnet test \ cd /src/_src && dotnet test \
--report-xunit \ --report-xunit \
--report-xunit-html \ --report-xunit-html \
--report-xunit-html-filename "test-results.html" --report-xunit-html-filename "test-results.html"
TEST_EXIT_CODE=$?
echo "Test exit code: $TEST_EXIT_CODE"
if [ $TEST_EXIT_CODE -ne 0 ]; then
echo "❌ Tests failed with exit code $TEST_EXIT_CODE"
exit $TEST_EXIT_CODE
else
echo "✅ All tests passed successfully."
fi