ci: fix missing project name reference
Some checks failed
Test if Server can be built / build-server (push) Successful in 53s
Test if Server can be built / sonarqube (push) Failing after 52s

This commit is contained in:
Timothy Schenk 2023-11-01 18:49:45 +01:00
parent ed4ef9b245
commit 5b62586263

View file

@ -15,8 +15,8 @@ jobs:
run: dotnet restore run: dotnet restore
- name: Build - name: Build
run: | run: |
dotnet build Continuity -c Release dotnet build Server -c Release
# dotnet test Continuity.Tests -c Release # dotnet test Server.Tests -c Release
sonarqube: sonarqube:
needs: build-server needs: build-server
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -41,7 +41,7 @@ jobs:
dotnet sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" dotnet sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}"
- name: Sonarqube Scan - name: Sonarqube Scan
run: | run: |
dotnet build Continuity -c Release dotnet build Server -c Release
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults" # dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml' # dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
- name: Sonarqube End - name: Sonarqube End