From af8f7d05c2500103f21ef8d37762fa5205c588ac Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Thu, 4 Apr 2024 11:35:06 -0700 Subject: [PATCH] Fix: Remove tox run in merge workflow Tox does not produces any artifacts, no need to run tox before running Sonar. Change-Id: I0b88565339c22f5f295b9adb4bb1b2091c177dbd Signed-off-by: Jessica Wagantall --- .github/workflows/gerrit-novote-merge.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gerrit-novote-merge.yaml b/.github/workflows/gerrit-novote-merge.yaml index f835427..f5640f8 100644 --- a/.github/workflows/gerrit-novote-merge.yaml +++ b/.github/workflows/gerrit-novote-merge.yaml @@ -70,22 +70,14 @@ jobs: - name: Allow replication run: sleep 10s - call-gerrit-tox-and-sonarcloud: + call-sonarcloud-scan: runs-on: ubuntu-latest needs: notify - strategy: - matrix: - tox-env: ["docs","docs-linkcheck"] steps: - uses: actions/checkout@v4 with: ref: ${{ inputs.GERRIT_BRANCH }} submodules: "true" - - name: Run Tox verify - # yamllint disable-line rule:line-length - uses: lfit/releng-reusable-workflows/.github/actions/tox-run-action@main - with: - tox-envs: ${{ matrix.tox-env }} - name: Run SonarCloud Scan uses: sonarsource/sonarcloud-github-action@master env: @@ -103,7 +95,7 @@ jobs: report-status: if: ${{ always() }} - needs: [notify, call-gerrit-tox-and-sonarcloud] + needs: [notify, call-sonarcloud-scan] runs-on: ubuntu-latest steps: - name: Get workflow conclusion -- 2.16.6