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: nightly-ci-integration-tests | |
on: | |
schedule: | |
- cron: "0 22 * * *" # every day at 22pm on default branch | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- test/initial-integration-tests | |
jobs: | |
integration_tests: | |
runs-on: ubuntu-latest #[self-hosted, gpu] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install test dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pytest-md pytest-emoji | |
- name: Install dependencies | |
run: | | |
PACKAGES="-e ./training[all,tests] -e ./graphs[all,tests] -e ./models[all,tests]" | |
pip install $PACKAGES | |
- name: Run integration tests | |
run: | | |
pytest tests/ |