-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e-test: Introduce e2e test script and github workflow
This commit has the following changes: * Add a new dir, e2e, which will host the scripts for e2e tests. * A make target for e2e is added * Github workflow file is added which will run the e2e tests for PRs created by approved contributors. Signed-off-by: Raghavendra Talur <[email protected]>
- Loading branch information
1 parent
b8bedb9
commit 47f1c51
Showing
3 changed files
with
30 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# SPDX-FileCopyrightText: The RamenDR authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
# yamllint disable rule:line-length | ||
name: E2E | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
e2e-rdr: | ||
runs-on: [self-hosted, e2e-rdr] | ||
if: github.repository == 'RamenDR/ramen' && contains(fromJson('["nirs", "ShyamsundarR", "BenamarMk", "raghavendra-talur", "rakeshgm", "ELENAGER", "netzzer", "kseegerrh"]'), github.actor) | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run E2E Tests | ||
run: | | ||
make e2e-rdr |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
echo "Test ran successfully" | ||
exit 0 |