Skip to content

Update CI to test installation against Python>=3.9 #95

Update CI to test installation against Python>=3.9

Update CI to test installation against Python>=3.9 #95

Workflow file for this run

name: CI
on: [push, pull_request]
env:
MPLBACKEND: Agg
PYTEST_ADDOPTS: --color=yes
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python --version
pip install -e .[tests]
pip freeze
- name: Tests
run: |
pytest --cov=pybkgmodel --cov-report=xml
- uses: codecov/codecov-action@v1