-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (45 loc) · 1.57 KB
/
ci_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
49
50
51
name: CI E2E and API tests
on:
workflow_dispatch:
inputs:
run_id:
description: 'Run_id from respository that is triggering this workflow.'
type: string
required: true
repository:
description: 'Name of the respository that is triggering this workflow.'
type: string
required: true
flags_features:
description: 'Features Flags to enable / disable. For example: "flag1:true flag2:false"'
type: string
default: ''
required: false
jobs:
staging-deployed-trigger-received:
runs-on: ubuntu-latest
steps:
- run: echo "Regression E2E and API tests for ${{ inputs.repository }} - RUN_ID ${{ inputs.run_id }}"
- name: Create artifact with trigger repository name
run: echo "${{ inputs.repository }}" > trigger_repository.txt
- name: Upload artifact with trigger repository name
uses: actions/upload-artifact@v4
with:
name: trigger_repository_name
path: trigger_repository.txt
no-wallet-tests:
uses: ./.github/workflows/z_Reusable_RegressionNoWallet.yml
with:
base_url: 'https://staging.summer.fi'
script: ci:no-wallet:regression
api-tests:
uses: ./.github/workflows/z_Reusable_Apis.yml
with:
base_url: 'https://staging.summer.fi'
script: api-tests:regression
# with-real-wallet:
# uses: ./.github/workflows/z_Reusable_RegressionWithRealWallet.yml
# with:
# base_url: 'https://staging.summer.fi'
# flags_features: ${{ inputs.flags_features}}
# secrets: inherit