-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (34 loc) · 1016 Bytes
/
test-e2e.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
name: "E2E Test"
on:
pull_request:
branches: [main]
jobs:
integration:
name: E2E Test
runs-on: ubuntu-latest
steps:
- name: Setup BATS
uses: mig4/setup-bats@v1
with:
bats-version: 1.9.0
- uses: actions/checkout@v3
- name: Setup cache for cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Run e2e
env:
GALOY_API: https://api.staging.galoy.io/graphql
USER_A_PHONE: ${{ secrets.USER_A_PHONE }}
USER_A_CODE: ${{ secrets.USER_A_CODE }}
USER_A_USERNAME: ${{ secrets.USER_A_USERNAME }}
USER_B_PHONE: ${{ secrets.USER_B_PHONE }}
USER_B_CODE: ${{ secrets.USER_B_CODE }}
USER_B_USERNAME: ${{ secrets.USER_B_USERNAME }}
run: make e2e