Update README.md (#49) #127
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: pip3 install -r requirements.txt | |
- name: Run Black | |
run: black . --check | |
- name: Run pyright | |
uses: jakebailey/pyright-action@v2 | |
with: | |
version: 1.1.352 | |
- name: Run pytest | |
run: | | |
export PYTHONPATH=$(pwd) | |
pytest tests |