Skip to content

🎨 Add colab links and hide output in sphinx #22

🎨 Add colab links and hide output in sphinx

🎨 Add colab links and hide output in sphinx #22

Workflow file for this run

name: Packaging
on:
- push
jobs:
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install tox
run: python -m pip install tox
- name: Run yapf
run: tox -e format
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install tox
run: python -m pip install tox
- name: Run flake8
run: tox -e lint
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python:
- version: "3.10"
toxenv: "py310"
- version: "3.9"
toxenv: "py39"
- version: "3.8"
toxenv: "py38"
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python.version }}
- name: Install tox
run: python -m pip install tox
- name: Run pytest
run: tox -e ${{ matrix.python.toxenv }}