Skip to content

Setup test framework (#20) #1

Setup test framework (#20)

Setup test framework (#20) #1

Workflow file for this run

# This workflow will install Python dependencies and run tests with pytest
name: Run unit tests
on:
push:
branches: [ "main" ]
paths-ignore:
- README.md
pull_request:
branches: [ "main" ]
paths-ignore:
- README.md
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --group test -e .
- name: Test with pytest
run: pytest -v