From: Jessica Wagantall Date: Thu, 4 Apr 2024 02:43:42 +0000 (-0700) Subject: Fix: Add matrix of tox envs X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=eae1e0d0caba1ce4e7325e5a88fc52a89c446437;p=com%2Fpylog.git Fix: Add matrix of tox envs Change-Id: I40fdc9626d1c878aa37fa38cfb536b0265151ea3 Signed-off-by: Jessica Wagantall --- diff --git a/.github/workflows/gerrit-novote-merge.yaml b/.github/workflows/gerrit-novote-merge.yaml index f2066dc..67e597a 100644 --- a/.github/workflows/gerrit-novote-merge.yaml +++ b/.github/workflows/gerrit-novote-merge.yaml @@ -51,6 +51,9 @@ concurrency: group: gerrit-merge-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }} cancel-in-progress: true +env: + TOX_ENVS: '["docs","docs-linkcheck"]' + jobs: notify: runs-on: ubuntu-latest @@ -73,6 +76,9 @@ jobs: call-gerrit-tox-and-sonarcloud: runs-on: ubuntu-latest needs: notify + strategy: + matrix: + tox-env: ${{ fromJSON(env.TOX_ENVS) }} steps: - uses: actions/checkout@v4 with: @@ -82,7 +88,7 @@ jobs: # yamllint disable-line rule:line-length uses: lfit/releng-reusable-workflows/.github/actions/tox-run-action@main with: - tox-envs: '["docs","docs-linkcheck"]' + tox-envs: ${{ matrix.tox-env }} - name: Run SonarCloud Scan uses: sonarsource/sonarcloud-github-action@master env: