Skip to content

Commit b6b2ead

Browse files
authored
ci(workflows): run test and coverage on test folder changes (#78)
1 parent 5afd16e commit b6b2ead

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build-test-code.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Test
33
on:
44
pull_request:
55
branches: [main]
6-
paths: 'src/**'
6+
paths:
7+
- 'src/**'
8+
- '__tests__/**'
79

810
jobs:
911
test_pull_request:

.github/workflows/report-coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Report Test Coverage
33
on:
44
push:
55
branches: [main]
6-
paths: 'src/**'
6+
paths:
7+
- 'src/**'
8+
- '__tests__/**'
79

810
jobs:
911
report_test_coverage:

0 commit comments

Comments
 (0)