Skip to content

Update github pipeline #59

Update github pipeline

Update github pipeline #59

Workflow file for this run

name: Code quality
on:
push:
jobs:
code_quality:
name: Check code quality
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir -e .
pip install --no-cache-dir -r requirements/linters.txt
pip install --no-cache-dir -r requirements/tests.txt
- name: Lint
run: |
make lint
- name: Test
run: |
make test
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}