Skip to content

Merge pull request #18 from CyrilJl/improve/professional-quality #40

Merge pull request #18 from CyrilJl/improve/professional-quality

Merge pull request #18 from CyrilJl/improve/professional-quality #40

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and test dependencies
run: python -m pip install ".[test]"
- name: Run tests with coverage
run: python -m pytest --cov=batchstats