-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 1.2 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
name: CI E2E tests
on:
workflow_dispatch:
inputs:
run_id:
description: 'Run_id from oasis-borrow run that is triggering this workflow.'
type: string
required: true
# ########################
# testing 'tests failure' scenario
# result:
# description: 'Test result parameter introduced for testing failure scenario'
# type: string
# required: true
# 'result' input to be removed after testing'
# ########################
jobs:
ci-e2e-tests:
runs-on: ubuntu-latest
steps:
- name: CI - Regression E2E tests for oasis-borrow RUN_ID ${{ inputs.run_id }}
uses: actions/checkout@v4
run: echo "Event received - oasis-borrow RUN_ID is ${{ inputs.run_id }}"
- name: CI E2E tests - No wallet
uses: ./.github/workflows/z_Reusable_RegressionNoWallet.yml
with:
base_url: 'https://staging.summer.fi'
script: ci:no-wallet:regression
# - name: Testing e2e tests fail - TO BE REMOVED after Testing
# if: ${{ inputs.result == 'fail' }}
# uses: actions/github-script@v7
# with:
# script: |
# core.setFailed('E2E tests failed')