Skip to content

Commit 17d9942

Browse files
authored
Merge pull request #1208 from bact/limiting-unitttest
Run unittest only when there is a code change
2 parents c1efb96 + 6b6183e commit 17d9942

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,29 @@ name: Unit test
55

66
on:
77
push:
8-
paths-ignore:
9-
- '**.md'
10-
- 'docs/**'
8+
paths:
9+
- ".github/workflows/**"
10+
- "bin/**"
11+
- "build_tools/**"
12+
- "pythainlp/**"
13+
- "tests/**"
14+
- "Makefile"
15+
- "MANIFEST.in"
16+
- "pyproject.toml"
17+
- "tox.ini"
1118
pull_request:
1219
branches:
1320
- dev
14-
paths-ignore:
15-
- '**.md'
16-
- 'docs/**'
21+
paths:
22+
- ".github/workflows/**"
23+
- "bin/**"
24+
- "build_tools/**"
25+
- "pythainlp/**"
26+
- "tests/**"
27+
- "Makefile"
28+
- "MANIFEST.in"
29+
- "pyproject.toml"
30+
- "tox.ini"
1731

1832
jobs:
1933
unittest:

0 commit comments

Comments
 (0)