Skip to content

Add tests

Add tests #6

Workflow file for this run

name: Test coverage
on: [pull_request]
jobs:
test-coverage:
name: Test coverage
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["macos-latest", "ubuntu-latest"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: pip install poetry
- name: Install shui dependencies
run: poetry install
- name: Run unit tests
run: poetry run coverage run -m pytest -v
- name: Generate coverage report
run: poetry run coverage report -m