e2e-test: Introduce e2e test script and github workflow #8
Workflow file for this run
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
# SPDX-FileCopyrightText: The RamenDR authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
--- | ||
# yamllint disable rule:line-length | ||
name: E2E Test | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
e2e-test: | ||
runs-on: [self-hosted, e2e-rdr] | ||
if: contains(fromJson('["nirs", "ShyamsundarR", "BenamarMk", "raghavendra-talur", "rakeshgm", "ELENAGER", "netzzer", "kseegerrh"]'), github.actor) | ||
if: github.repository == 'RamenDR/ramen' | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
- name: Run E2E Tests | ||
run: | | ||
chmod +x ./hack/rdr-e2e.sh | ||
./hack/rdr-e2e.sh |