Skip to content

Commit 613517a

Browse files
committed
Update workflow events
s
1 parent 38bd2c9 commit 613517a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: Build
22
on:
3-
- push
4-
- pull_request
3+
# Only run workflow when there is push to main or when there is a pull request to main
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
510
jobs:
611
test:
712
# When running with act (https://github.com/nektos/act), these lines need to be appended with the ACT variable

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[pytest]
22
addopts = --strict-markers
33
markers =
4-
serial: Mark tests which should be done serially
4+
serial

0 commit comments

Comments
 (0)