diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index f71cf3d..4405a1f 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -1,6 +1,11 @@ name: Build, Package and Push Images run-name: ${{ gitea.actor }} is building the Server application -on: [push] +on: + push: + paths-ignore: + - Wiki/** + - Benchmarks/** + - .run/** jobs: preprocess: @@ -25,7 +30,7 @@ jobs: - name: Build run: | dotnet build Server -c Release - # dotnet test Server.Tests -c Release + # dotnet test Server.Tests -c Release sonarqube: needs: build @@ -53,8 +58,8 @@ jobs: - name: Sonarqube Scan run: | dotnet build Server -c Release - # dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults" - # dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml' + # dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults" + # dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml' - name: Sonarqube End run: | dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" @@ -101,8 +106,8 @@ jobs: uses: https://github.com/actions/setup-dotnet@v3 with: dotnet-version: 8.0 - # Add support for more platforms with QEMU (optional) - # https://github.com/docker/setup-qemu-action + # Add support for more platforms with QEMU (optional) + # https://github.com/docker/setup-qemu-action - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx