-
Notifications
You must be signed in to change notification settings - Fork 9
50 lines (48 loc) · 1.68 KB
/
ui-test.yaml
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
49
50
name: UI test
on:
push:
branches:
- '**'
jobs:
# ui_test:
# timeout-minutes: 45
# if: "!contains(github.event.head_commit.message, '[skip tests]')"
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
#
# - uses: cachix/install-nix-action@v22
# with:
# nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17.tar.gz
#
# - name: Install dependencies
# run: nix-env -if ui-tests/default.nix
#
# - name: Start Docker Compose
# working-directory: on-premise-deploy/docker-compose/
# run: docker-compose up -d
#
# - name: Wait for Docker Compose and Vault
# # TODO: Use a script to ascertain docker health instead of flat wait time
# run: sleep 120s
#
# - name: Populate payer transfer data with TTK
# run: docker exec mojaloop-testing-toolkit npm run cli -- outbound -i collections/payer-tests/ -e environments/environment.json
#
# - name: Populate payee transfer data with TTK
# run: docker exec mojaloop-testing-toolkit npm run cli -- outbound -i collections/payee-tests/ -e environments/environment.json
#
# - name: Install test dependencies
# working-directory: ui-tests/tests
# run: |-
# npm ci
#
# - name: Upgrade browserlist
# working-directory: ui-tests/tests
# run: |-
# npx browserslist@latest --update-db
#
# - name: Run tests
# working-directory: ui-tests/tests
# run: |-
# ENV="local" PM4ML_ENDPOINT="http://localhost:8081" SIM_CORE_CONNECTOR_ENDPOINT="http://localhost:3003" npm run test:headless