Remove image breaking prod deploys #2431
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: Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ruff: | |
name: Ruff | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: ./.github/actions/setup | |
- run: ruff check | |
- run: ruff format --check | |
nbconvert: | |
name: NbConvert | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: ./.github/actions/setup | |
- name: Check notebooks are cleaned | |
run: | | |
jupyter nbconvert --clear-output --inplace 11_notebooks/*.ipynb | |
git diff --quiet 11_notebooks/*.ipynb && git diff --cached --quiet 11_notebooks/*.ipynb || exit 1 | |
pytest: | |
name: Pytest | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: ./.github/actions/setup | |
- name: Run | |
run: pytest -v . |