Skip to content

Merge branch 'main' into 45-sleep-hold #260

Merge branch 'main' into 45-sleep-hold

Merge branch 'main' into 45-sleep-hold #260

Workflow file for this run

name: pytest
on: [push, workflow_dispatch]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry install
- name: Test
run: |
coverage run --branch -m pytest tests/
- name: Generate Report
run: |
coverage html
- name: Upload report
uses: actions/upload-artifact@v4
with:
name: coverage-report-${{ matrix.os }}
path: |
htmlcov/*