Merge pull request #693 from dianna-ai/kwargs-tests #993
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: notebooks | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
notebooks: | |
name: Run notebooks on (3.10, ${{ matrix.os }}) | |
if: github.event.pull_request.draft == false | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/install-python-and-package | |
with: | |
extras-require: dev,notebooks | |
- name: Run tutorial notebooks | |
run: pytest --nbmake tutorials |