Moving away from poetry to simple pip, upgrading all dependencies #32
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: Run code checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
- 'releases/**' | |
jobs: | |
code-checks: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dev and test dependencies | |
run: | | |
pip install .[dev] | |
pip install .[test] | |
- name: Run code quality tools | |
run: pre-commit run --all-files | |
- name: Run unit tests & code coverage checks | |
run: pytest |