Skip to content

Migrate to pyproject.toml, update components and support #26

Migrate to pyproject.toml, update components and support

Migrate to pyproject.toml, update components and support #26

Workflow file for this run

name: Run linter and tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- '3.14'
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and package
run: |
python -m pip install --upgrade pip
pip install -e ".[test,dev]"
- name: Run lint and code review
run: |
pre-commit run --all-files
- name: Run tests with coverage
run: |
coverage run --source='./param_parser' -m pytest
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5