notation changes #17
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: Lint, Type Check, and Test | |
on: [push, pull_request] | |
jobs: | |
qol: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Lint | |
run: | | |
pip install ruff | |
ruff check . | |
- name: Type check | |
run: | | |
pip install pyright | |
poetry run pyright | |
- name: Test | |
run: | | |
pip install pytest | |
PYTHONPATH=$PYTHONPATH:. poetry run pytest |