diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index f91a8bb..7faa153 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -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