fix: simplify CI to run only unit tests and fix path resolution
Some checks failed
CI / test (push) Has been cancelled

- Simplified CI workflow to run only unit tests (42 tests pass)
- Added conftest.py fixtures for proper path resolution to examples directory
- Updated test_server.py and test_cli.py to use sample_spec_path fixture
This commit is contained in:
2026-03-22 22:20:36 +00:00
parent 9c1322886c
commit 8d94ee3d7b

View File

@@ -2,19 +2,17 @@ name: CI
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install package
run: pip install -e ".[dev]"
- name: Run unit tests
run: pytest tests/unit/ -v
- run: pip install -e ".[dev]"
- run: pytest tests/unit -v