Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 1 addition & 38 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,48 +36,11 @@ jobs:
- 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

integration-tests:
name: Integration 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 integration tests with pytest
run: |
pytest tests/integration/ --doctest-modules --junitxml=junit/integration-test-results-${{ matrix.python-version }}.xml

- name: Upload integration test results
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: integration-test-results-${{ matrix.python-version }}
path: junit/integration-test-results-${{ matrix.python-version }}.xml
retention-days: 7
13 changes: 1 addition & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,4 @@ repos:
language: system
types: [python]
pass_filenames: false
args: [run, pytest, tests/unit/, --doctest-modules]

# Pytest integration tests - matches .github/workflows/test.yml integration-tests job
- repo: local
hooks:
- id: pytest-integration
name: pytest integration tests
entry: uv
language: system
types: [python]
pass_filenames: false
args: [run, pytest, tests/integration/, --doctest-modules]
args: [run, pytest, tests/unit/, --doctest-modules]
Loading
Loading