Skip to content

Tests

Tests #4

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
pytest:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and test runner
run: |
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install pytest
- name: Compile tests
run: python -m py_compile tests/test_sbol_export.py
- name: Run tests
run: pytest -q