Skip to content

fix(ci): use editable install for reliable coverage tracing #3

fix(ci): use editable install for reliable coverage tracing

fix(ci): use editable install for reliable coverage tracing #3

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["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
python -m pip install -e ".[dev,image,pdf]"
- name: Run tests
run: |
pytest -q
quality:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev,image,pdf]"
- name: Lint
run: |
ruff check .
- name: Type check
run: |
mypy --strict aztec_py
build:
runs-on: ubuntu-latest
needs: quality
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Build package
run: |
python -m pip install build
python -m build