Skip to content

Commit b37f5cd

Browse files
committed
🔧 Migrate CI to uv and add smoke tests
- Replace pip with uv for faster, reproducible dependency management - Add astral-sh/setup-uv@v4 action for uv installation - Add smoke test steps for 3-peak and 7-peak scenarios - Use uv run for pytest and smoke test execution
1 parent 3361619 commit b37f5cd

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,22 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818

19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v4
21+
1922
- name: Set up Python
20-
uses: actions/setup-python@v5
21-
with:
22-
python-version: ${{ matrix.python-version }}
23-
cache: "pip"
23+
run: uv python install ${{ matrix.python-version }}
2424

2525
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
python -m pip install .[dev]
26+
run: uv sync --dev
2927

3028
- name: Run tests
3129
env:
3230
MPLBACKEND: Agg
33-
run: |
34-
pytest
31+
run: uv run pytest
32+
33+
- name: Smoke test (3 peaks)
34+
run: uv run python tests/ci/n_peaks.py 3
35+
36+
- name: Smoke test (7 peaks)
37+
run: uv run python tests/ci/n_peaks.py 7

0 commit comments

Comments
 (0)