diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 30c7790..f8e1e4d 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -13,19 +13,11 @@ jobs: dotnet-version: 7.0 run: | dotnet build Continuity -c Release - # dotnet test Continuity.Tests -c Release - export SONAR_TOKEN=${{secrets.SONAR_TOKEN}} - export SONAR_PROJECT_KEY=${{secrets.SONAR_PROJECT_KEY}} - export SONAR_HOST_URL=${{secrets.SONAR_HOST_URL}} - export IS_LOCAL_BUILD=${{secrets.IS_LOCAL_BUILD}} - export SUPPORTS_DOCKER=${{secrets.SUPPORTS_DOCKER}} - apt-get update - apt-get install --yes openjdk-11-jre - chmod +x ./build.sh - ./build.sh --verbose --root . + # dotnet test Continuity.Tests -c Release sonarqube: needs: build-server runs-on: ubuntu-latest + if: gitea.ref == 'refs/heads/master' steps: - uses: actions/checkout@v3 - name: Setup dotnet