Skip to content

Production hardening + tiled-amplicon format coverage #11

Production hardening + tiled-amplicon format coverage

Production hardening + tiled-amplicon format coverage #11

Workflow file for this run

name: CI
on:
push:
branches: [main, develop, "v*"]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["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 }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: python -m pytest tests/ -v
- name: Code quality (Python 3.11 only)
if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
run: |
black --check preprimer/ tests/
isort --check-only preprimer/ tests/
flake8 preprimer/ tests/ --max-line-length=88 --extend-ignore=E203,W503