Skip to content

Add testing infrastructure #1

Add testing infrastructure

Add testing infrastructure #1

Workflow file for this run

---
name: continuous-integration
on:
push:
branches:
- main
pull_request:
jobs:
test-package:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package and its dependencies
run: python3 -m pip install -e .[dev]
- name: Run pytest
run: pytest -v --cov --cov-report json