chore: update ci pipeline and poetry version (#160) #119
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, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python: ["3.9", "3.10", "3.11", "3.12"] | |
poetry-version: [1.8.2] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up Poetry ${{ matrix.poetry-version }} | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
cache: 'poetry' | |
cache-dependency-path: poetry.lock | |
- name: Install dependencies | |
run: make install | |
- name: Code Quality | |
run: make quality | |
- name: Unit tests | |
run: make test |