-
Notifications
You must be signed in to change notification settings - Fork 464
48 lines (41 loc) · 1.36 KB
/
e2e_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: E2E Tests
on:
pull_request:
branches: [ main ]
jobs:
e2e-tests-on-vm:
name: Run E2E Tests on VM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run commands via SSH to setup environment on VM
#uses: appleboy/ssh-action@master
#with:
# # TODO @Jason need to config the test env in Setting/Secrets of the Repo.
# host: ${{ secrets.VM_IP }}
# username: ${{ secrets.VM_USER }}
# key: ${{ secrets.VM_SSH_PRIVATE_KEY }}
# port: ${{ secrets.VM_PORT }}
# script: |
# echo "Setup test environment"
run: echo "Installing dependencies ..."
- name: Execute E2E Tests on VM
#uses: appleboy/ssh-action@master
#with:
# host: ${{ secrets.VM_IP }}
# username: ${{ secrets.VM_USER }}
# key: ${{ secrets.VM_SSH_PRIVATE_KEY }}
# port: ${{ secrets.VM_PORT }}
# script: |
# echo "Running E2E tests"
run: echo "Running E2E tests ..."
- name: Cleanup after tests
#uses: appleboy/ssh-action@master
#with:
# host: ${{ secrets.VM_IP }}
# username: ${{ secrets.VM_USER }}
# key: ${{ secrets.VM_SSH_PRIVATE_KEY }}
# port: ${{ secrets.VM_PORT }}
# script: |
# echo "Cleaning up test environment"
run: echo "Cleaning up test environment ..."