Skip to content

Commit 0f6abed

Browse files
aarmeyAaron Meyer
andauthored
Align CI with org-wide shared Python workflow template (#1006)
Add pull_request as a trigger alongside push, and enable uv's cache, matching the pattern in meyer-lab/.github's python-uv-ruff-pytest template. Submodule setup and coverage config are kept as-is. Co-authored-by: Aaron Meyer <git@ameyer.me>
1 parent 8793ac3 commit 0f6abed

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/pytest.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Test
22

3-
on: [push]
3+
on:
4+
push:
5+
pull_request:
46

57
jobs:
68
build:
@@ -11,6 +13,8 @@ jobs:
1113
run: git submodule update --init --recursive
1214
- name: Install uv
1315
uses: astral-sh/setup-uv@v10.0.1
16+
with:
17+
enable-cache: true
1418
- name: Install dependencies
1519
run: uv sync
1620
- name: Lint with ruff

0 commit comments

Comments
 (0)