Skip to content

Commit

Permalink
chore: specify paths on push for e2e tests (#287)
Browse files Browse the repository at this point in the history
## 馃摐 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
  • Loading branch information
kirillzyusko committed Dec 1, 2023
1 parent 9cff79c commit 6c562c6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/android-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
push:
branches:
- main
paths:
- '.github/workflows/android-e2e-test.yml'
- 'package.json'
- 'android/**'
- 'example/**'
- 'e2e/**'
- 'src/**'

jobs:
test:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/ios-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ on:
push:
branches:
- main
paths:
- '.github/workflows/ios-e2e-test.yml'
- 'react-native-keyboard-controller.podspec'
- 'package.json'
- 'ios/**'
- 'example/**'
- 'e2e/**'
- 'src/**'

jobs:
test:
Expand Down

0 comments on commit 6c562c6

Please sign in to comment.