Skip to content

Moving away from poetry to simple pip, upgrading all dependencies #31

Moving away from poetry to simple pip, upgrading all dependencies

Moving away from poetry to simple pip, upgrading all dependencies #31

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