Merge pull request #39 from bh2smith/dependency-update #73
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: pull request | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
python: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python 3.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: Install Requirements | |
run: | |
pip install -r requirements.txt | |
- name: Pylint | |
run: | |
pylint src/ | |
- name: Black | |
run: | |
black --check ./ | |
- name: Type Check (mypy) | |
run: mypy src | |
- name: Unit Tests | |
run: | |
python -m pytest tests |