Skip to content

Docker notebook tests #54

Docker notebook tests

Docker notebook tests #54

Workflow file for this run

name: Docker notebook tests
on:
push:
branches: [ main ]
paths: ['Dockerfile', '.dockerignore', 'compose.yaml']
pull_request:
branches: [ main ]
paths: ['Dockerfile', '.dockerignore', 'compose.yaml']
schedule:
- cron: '0 20 * * 3'
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Build image
run: docker compose build
- name: Test notebooks
shell: bash
run: docker compose run notebook "bash" "-c" "pip install pytest nbmake && pytest --nbmake docs --ignore=docs/circuit-knitting-toolbox/entanglement_forging/tutorials/tutorial_2_forging_with_quantum_serverless.ipynb"