Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

fix pointer to repo (#201) #439

fix pointer to repo (#201)

fix pointer to repo (#201) #439

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12", "3.13"]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov pytest-asyncio
- name: Run unit tests with pytest
run: |
pytest tests/unit/ --doctest-modules --junitxml=junit/unit-test-results-${{ matrix.python-version }}.xml
- name: Upload unit test results
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: unit-test-results-${{ matrix.python-version }}
path: junit/unit-test-results-${{ matrix.python-version }}.xml
retention-days: 7