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>
- name: Allow replication
run: sleep 10s
- name: Allow replication
run: sleep 10s
- call-gerrit-tox-and-sonarcloud:
runs-on: ubuntu-latest
needs: notify
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"
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:
- name: Run SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
report-status:
if: ${{ always() }}
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
runs-on: ubuntu-latest
steps:
- name: Get workflow conclusion