ci: add missing name for step
Some checks failed
Test if Server can be built / build-server (push) Failing after 21s
Test if Server can be built / sonarqube (push) Has been skipped

This commit is contained in:
Timothy Schenk 2023-11-01 18:48:39 +01:00
parent 4dafb56e0a
commit ed4ef9b245

View file

@ -11,7 +11,11 @@ jobs:
uses: https://github.com/actions/setup-dotnet@v3
with:
dotnet-version: 7.0
run: dotnet build Continuity -c Release
- name: Install dependencies
run: dotnet restore
- name: Build
run: |
dotnet build Continuity -c Release
# dotnet test Continuity.Tests -c Release
sonarqube:
needs: build-server
@ -35,10 +39,9 @@ jobs:
- name: Sonarqube Begin
run: |
dotnet sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}"
- name: Sonarqube Scan
run: |
dotnet build
dotnet build Continuity -c Release
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
- name: Sonarqube End