Skip to content

Merge branch 'main' into pytest #3

Merge branch 'main' into pytest

Merge branch 'main' into pytest #3

Workflow file for this run

name: pytest
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest coverage
pip install .
- name: Test
run: |
coverage run -m pytest tests/
- name: Generate Report
run: |
coverage html
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: |
htmlcov/*