Skip to content

Commit 37070ce

Browse files
committed
allow running GHA manually, don't run twice for PRs
1 parent 3ab053d commit 37070ce

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pytest.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
name: Tests
2-
on: [push, pull_request]
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
310
jobs:
411
build:
512
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)