Skip to content

Version 0.11.3

Version 0.11.3 #12

Workflow file for this run

name: "Release Tests"
on:
release:
types: [created]
workflow_dispatch:
jobs:
testing:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
os:
- "ubuntu-latest"
- "macOS-latest"
- "windows-latest"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
- name: Run tests
run: |
coverage run -m unittest discover tests/
coverage report --omit="tests/*.py"
coverage html
- name: Upload report
uses: actions/upload-artifact@v4
with:
name: code-coverage-report${{ matrix.python-version }}
path: htmlcov
if-no-files-found: warn