-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from sawantpritam/run-required-tests
Update test run condition for workflow_dispatch
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,10 +46,10 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-maven-${{ github.workflow }} | ||
- name: Run required e2e tests | ||
if: ${{ github.event.pull_request.merged == false}} | ||
if: ${{ github.event_name != 'workflow_dispatch' && github.event.pull_request.merged == false}} | ||
run: python3 e2e/src/main/scripts/run_e2e_test.py TestRunnerRequired.java | ||
- name: Run all e2e tests if PR is merged | ||
if: ${{ github.event.pull_request.merged == true}} | ||
- name: Run all e2e tests | ||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true}} | ||
run: python3 e2e/src/main/scripts/run_e2e_test.py | ||
- name: Upload report | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,8 +60,8 @@ jobs: | |
- name: Run required e2e tests | ||
if: ${{ github.event.pull_request.merged == false}} | ||
run: python3 e2e/src/main/scripts/run_e2e_test.py TestRunnerRequired.java | ||
- name: Run all e2e tests if PR is merged | ||
if: ${{ github.event.pull_request.merged == true}} | ||
- name: Run all e2e tests | ||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true}} | ||
run: python3 e2e/src/main/scripts/run_e2e_test.py | ||
- name: Upload report | ||
uses: actions/[email protected] | ||
|