File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 2828 echo "✅ Found solution file: $SOLUTION_FILE"
2929 echo "SOLUTION_FILE=$SOLUTION_FILE" >> $GITHUB_ENV
3030
31- - name : Restore dependencies
32- run : dotnet restore "$SOLUTION_FILE"
33-
34- - name : Build solution
35- run : dotnet build "$SOLUTION_FILE" --configuration Debug
36-
37- - name : Run tests and generate coverage
38- run : |
39- dotnet test --collect:"XPlat Code Coverage" --logger trx --results-directory ./TestResults/
31+ - name : Run tests with coverage
32+ run : dotnet test "$SOLUTION_FILE" --collect:"XPlat Code Coverage" --logger trx --results-directory ./TestResults/
4033
4134 - name : Upload test results (optional, for visibility)
4235 uses : actions/upload-artifact@v4
6053 /d:sonar.verbose=true \
6154 /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
6255 /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
63- dotnet build
56+ dotnet test "$SOLUTION_FILE" --no- build
6457 dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
You can’t perform that action at this time.
0 commit comments