From eae1e0d0caba1ce4e7325e5a88fc52a89c446437 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Wed, 3 Apr 2024 19:43:42 -0700 Subject: [PATCH] Fix: Add matrix of tox envs Change-Id: I40fdc9626d1c878aa37fa38cfb536b0265151ea3 Signed-off-by: Jessica Wagantall --- .github/workflows/gerrit-novote-merge.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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: -- 2.16.6