Fix: Remove tox run in merge workflow 61/12661/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 4 Apr 2024 18:35:06 +0000 (11:35 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 4 Apr 2024 18:35:06 +0000 (11:35 -0700)
Tox does not produces any artifacts, no need to run tox
before running Sonar.

Change-Id: I0b88565339c22f5f295b9adb4bb1b2091c177dbd
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
.github/workflows/gerrit-novote-merge.yaml

index f835427..f5640f8 100644 (file)
@@ -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