Skip to content

adds test workflow

adds test workflow #1

Workflow file for this run

name: test
on:
pull_request:
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
cache: "pip"
- name: Install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e .
- name: Run tests
run: |
source .venv/bin/activate
python -m unittest discover -s tests