From 642bee9635e7070659871dcb70698d273d6c4042 Mon Sep 17 00:00:00 2001 From: "Felipe N. Schuch" Date: Thu, 6 Jun 2024 10:06:13 -0300 Subject: [PATCH] fix ci --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4084218..d347eea 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -57,6 +57,7 @@ jobs: sonarcloud: needs: test runs-on: ubuntu-latest + if: github.repository == 'fschuch/xcompact3d_toolbox' # prevent running on forks steps: - uses: actions/checkout@v4 with: @@ -89,7 +90,7 @@ jobs: args: > -Dsonar.organization=fschuch -Dsonar.projectKey=fschuch_xcompact3d_toolbox - -Dsonar.python.version=3.8, 3.9, 3.10, 3.11, 3.12 + -Dsonar.python.version="3.8, 3.9, 3.10, 3.11, 3.12" -Dsonar.sources=xcompact3d_toolbox -Dsonar.tests=tests -Dsonar.python.coverage.reportPaths=coverage.*.xml @@ -120,7 +121,7 @@ jobs: release: needs: build # upload to PyPI on every tag - if: github.event_name == 'push' && github.ref_type == 'tag' && github.repository == 'fschuch/xcompact3d_toolbox' + if: github.event_name == 'push' && github.ref_type == 'tag' runs-on: ubuntu-latest environment: name: pypi