Skip to content

Commit

Permalink
fix for matrix file with if
Browse files Browse the repository at this point in the history
  • Loading branch information
l0uden committed Jul 22, 2024
1 parent 6ca1035 commit 028e151
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/vizro-qa-tests-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,20 @@ jobs:
matrix:
include:
- label: integration tests
file: "${{ secrets.VIZRO_QA_INTEGRATION_TESTS_WORKFLOW }}"
file: "VIZRO_QA_INTEGRATION_TESTS_WORKFLOW"
- label: notebooks test
file: "${{ secrets.VIZRO_QA_NOTEBOOKS_TESTS_WORKFLOW }}"
file: "VIZRO_QA_NOTEBOOKS_TESTS_WORKFLOW"
steps:
- uses: actions/checkout@v4
- name: Tests trigger
run: |
export INPUT_OWNER=${{ secrets.VIZRO_QA_ORG }}
export INPUT_REPO=${{ secrets.VIZRO_QA_REPO }}
export INPUT_WORKFLOW_FILE_NAME=${{ matrix.label }}
if [ "${{ matrix.file }}" == "VIZRO_QA_INTEGRATION_TESTS_WORKFLOW" ]; then
export INPUT_WORKFLOW_FILE_NAME=${{ secrets.VIZRO_QA_INTEGRATION_TESTS_WORKFLOW }}
elif [ "${{ matrix.file }}" == "VIZRO_QA_NOTEBOOKS_TESTS_WORKFLOW" ]; then
export INPUT_WORKFLOW_FILE_NAME=${{ secrets.VIZRO_QA_NOTEBOOKS_TESTS_WORKFLOW }}
fi
export INPUT_GITHUB_TOKEN=${{ secrets.VIZRO_SVC_PAT }}
export INPUT_REF=${{ github.head_ref }}
tools/trigger-workflow-and-wait.sh

0 comments on commit 028e151

Please sign in to comment.