Skip to content

[CI] Move tests from CircleCI to GitHub #15

[CI] Move tests from CircleCI to GitHub

[CI] Move tests from CircleCI to GitHub #15

name: Vizro qa tests trigger
on:
push:
branches: [main]
pull_request:
branches:
- main
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
jobs:
vizro-qa-trigger-fork:
if: ${{ github.event.pull_request.head.repo.fork }}
name: Vizro qa tests trigger
runs-on: ubuntu-latest
steps:
- name: Passed fork step
run: echo "Success!"
vizro-qa-trigger:
if: ${{ ! github.event.pull_request.head.repo.fork }}
name: Vizro qa tests trigger
runs-on: ubuntu-latest
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=${{ secrets.VIZRO_QA_INTEGRATION_TESTS_WORKFLOW }}
export INPUT_GITHUB_TOKEN=${{ secrets.VIZRO_SVC_PAT }}
export INPUT_REF=${{ github.head_ref }}
tools/trigger-workflow-and-wait.sh