Skip to content

e2e test

e2e test #13

Workflow file for this run

name: E2E Test Check
on:
pull_request:
branches:
- master
- main
types: [ 'opened', 'synchronize' ]
paths:
- '.github/**'
- '.github/workflows/**'
- '**/*.tf'
jobs:
e2e-check:
# if: github.event.review.state == 'approved' || github.event.review.body == 'approved'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Get repo name and pull request number
run: |
echo "repo name is" ${{github.event.pull_request.head.repo.full_name}}
echo "branch is" ${{github.event.pull_request.head.ref}}
echo "pull request number is" ${{github.event.number}}
- name: Add Mask
run: echo "::add-mask::${{vars.FC_TEST_URL}}"
- name: e2e test
run: |
curl -s ${{vars.FC_TEST_URL}}/?branch=${{github.event.pull_request.head.ref}}\&repo_name=${{github.event.pull_request.head.repo.full_name}}