init for webinar notebook #95
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: Test | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python: ["3.10"] | |
node-version: [16.x] | |
fail-fast: false | |
name: Test on ${{ matrix.os }} with Python ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
architecture: x64 | |
python-version: ${{ matrix.python }} | |
- name: Install Graphviz | |
run: sudo apt-get install graphviz | |
- name: Install Poetry | |
run: pip install poetry | |
- name: Install Python dependencies | |
run: poetry install | |
- name: Run Black | |
run: poetry run black . --check | |
- name: Run Black on notebooks | |
run: poetry run black-nb notebooks/ --check | |
- name: Run notebooks | |
run: poetry run python tests/execute_notebooks.py |