Skip to content

Commit fd3da42

Browse files
committed
Run tests on CI for all PRs to main branch
1 parent 1e9dc5c commit fd3da42

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Tests
22

3-
on: [push]
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
push:
7+
branches:
8+
- '**' # this matches all branches
9+
pull_request:
10+
branches:
11+
- main
412

513
jobs:
614
build_wheels:

.github/workflows/cibuildwheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Python wheels
2+
23
on:
3-
# Trigger the workflow on push or pull request,
4-
# but only for the main branch
4+
# Trigger the workflow only for tags and PRs to the main branch
55
push:
66
tags:
77
- '*'

0 commit comments

Comments
 (0)