Skip to content

Commit 6c562c6

Browse files
authored
chore: specify paths on push for e2e tests (#287)
## 📜 Description Specify `paths` on `push` for `e2e` tests. ## 💡 Motivation and Context Without these paths we'll run e2e every time on push to main branch. It's not consistent behavior across other CI scripts (and actually there is no sense not to run e2e pipeline on pull_request and run it on push). So in this PR I'm adding these paths to have a consistent behavior across all CI scripts. ## 📢 Changelog ### CI - added `paths` on push for e2e tests (the same as on pull_request); ## 🤔 How Has This Been Tested? There is no way to test it 😅 ## 📝 Checklist - [x] CI successfully passed
1 parent 9cff79c commit 6c562c6

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Diff for: .github/workflows/android-e2e-test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ on:
1111
push:
1212
branches:
1313
- main
14+
paths:
15+
- '.github/workflows/android-e2e-test.yml'
16+
- 'package.json'
17+
- 'android/**'
18+
- 'example/**'
19+
- 'e2e/**'
20+
- 'src/**'
1421

1522
jobs:
1623
test:

Diff for: .github/workflows/ios-e2e-test.yml

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ on:
1212
push:
1313
branches:
1414
- main
15+
paths:
16+
- '.github/workflows/ios-e2e-test.yml'
17+
- 'react-native-keyboard-controller.podspec'
18+
- 'package.json'
19+
- 'ios/**'
20+
- 'example/**'
21+
- 'e2e/**'
22+
- 'src/**'
1523

1624
jobs:
1725
test:

0 commit comments

Comments
 (0)