Continuous Integration - Weekly #68
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: Continuous Integration - Weekly | |
on: | |
schedule: | |
# Checks out main by default. | |
- cron: '0 0 * * 0' | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
notebooks-stable: | |
name: All Notebooks Isolated Test against Cirq stable | |
env: | |
NOTEBOOK_PARTITIONS: 4 | |
strategy: | |
matrix: | |
# partitions should be named partition-0 to partition-(NOTEBOOK_PARTITIONS-1) | |
partition: [partition-0, partition-1, partition-2, partition-3] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
architecture: 'x64' | |
- name: Install requirements | |
run: pip install -r dev_tools/requirements/isolated-base.env.txt | |
- name: Notebook tests | |
run: check/pytest -n auto -m weekly dev_tools/notebooks/isolated_notebook_test.py -k ${{matrix.partition}} | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: notebook-outputs | |
path: out |