Skip to content

Unit Tests

Unit Tests #100

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
schedule:
- cron: "0 0 */3 * *"
jobs:
test:
name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: [3.9, "3.10", "3.11"]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- 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
- name: Install Package in Editable Mode with Development Dependencies
run: python -m pip install -e ".[dev]"
- name: Run Tests
run: pytest -s tests