Skip to content

Commit 6ebfd13

Browse files
authored
Update test.yml
Add ci run on pull requests
1 parent 019a216 commit 6ebfd13

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,18 @@ env:
66
# Controls when the action will run. Triggers the workflow on push or pull request
77
# events but only for the development branch
88
on:
9+
# Run on push and pull requests on any branch, but ignore if change doesn't affect code.
910
push:
10-
branches:
11-
- master
11+
paths-ignore:
12+
- 'README.md'
13+
- 'docs/**'
14+
pull_request:
15+
paths-ignore:
16+
- 'README.md'
17+
- 'docs/**'
18+
# Allows you to run this workflow manually from the Actions tab
19+
workflow_dispatch:
20+
1221

1322
jobs:
1423
build:

0 commit comments

Comments
 (0)