-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (42 loc) · 1.37 KB
/
0_1_regressionWithRealWallet.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
name: 0.1. Regression - With real wallet
on:
workflow_dispatch:
inputs:
base_url:
description: 'Environment base URL to run the tests on.'
type: string
default: 'https://staging.summer.fi'
required: true
flags_features:
description: 'Features Flags to enable / disable. For example: "flag1:true flag2:false"'
type: string
default: ''
required: false
jobs:
with-real-wallet-tests:
name: 'Tests with real wallet'
runs-on: ubuntu-latest
container:
image: synthetixio/docker-node:18.16-ubuntu
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Install playwright
run: npx playwright install && npx playwright install-deps
- name: Install xvfb
run: apt-get update -y && apt-get -y install xvfb && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
- name: Run 'With real wallet' tests
run: |
BASE_URL=${{ inputs.base_url }} \
FLAGS_FEATURES=${{ inputs.flags_features}} \
yarn ci:with-real-wallet
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-with-real-wallet
path: playwright-reports/with-real-wallet
retention-days: 30