Skip to content

Feature/get ready for v002 #33

Feature/get ready for v002

Feature/get ready for v002 #33

name: test and coverage
on: [pull_request, push, workflow_dispatch]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: confirm pip version
run: pip --version
- name: installation of package in dev mode
run: pip install .[dev]
- name: running pytest
run: pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3