12345678910111213141516171819202122232425262728 |
- name: ci
- on:
- push:
- branches: [main]
- pull_request:
- jobs:
- build:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: ["3.9", "3.10", "3.11"]
- steps:
- - uses: actions/checkout@v3
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4
- with:
- python-version: ${{ matrix.python-version }}
- - name: Install poetry
- run: pip install poetry==1.4.2
- - name: Install dependencies
- run: poetry install --all-extras
- - name: Lint with ruff
- run: make ci_lint
- - name: Test with pytest
- run: make ci_test
|