[QA] Move integration tests to vizro #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e integration tests for Vizro | |
defaults: | |
run: | |
working-directory: vizro-core | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
env: | |
PYTHONUNBUFFERED: 1 | |
FORCE_COLOR: 1 | |
PYTHON_VERSION: "3.12" | |
jobs: | |
test-e2e-integration-vizro-core: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ env.PYTHON_VERSION }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Hatch | |
run: pip install hatch | |
- name: Show dependency tree | |
run: hatch run pip tree | |
- name: Run e2e integration tests | |
run: | | |
hatch run test-e2e-run-dashboards | |
hatch run test-e2e-integration | |
- name: Create artifacts and slack notifications | |
if: failure() | |
uses: ./.github/actions/failed-artifacts-and-slack-notifications | |
env: | |
TESTS_NAME: Vizro e2e integration tests | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |