Skip to content

Commit 889f9dc

Browse files
committed
Specify branches for test CI runs
1 parent 506c89b commit 889f9dc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
49

510
concurrency:
611
group: ${{ github.workflow }}-${{ github.ref }}
@@ -14,7 +19,8 @@ jobs:
1419
matrix:
1520
python-version: ["3.11", "3.12", "3.13"]
1621
# macos-13 is an intel runner, macos-14 is an arm64 runner
17-
platform: [ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-13, macos-14]
22+
platform:
23+
[ubuntu-latest, ubuntu-22.04-arm, windows-latest, macos-13, macos-14]
1824

1925
defaults:
2026
run:

0 commit comments

Comments
 (0)