-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (51 loc) · 1.79 KB
/
regression-test.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
52
53
54
55
56
# Web Regression Test Run is splitted by sequential and parallel jobs. Swap tests can't be run in parallel mode
name: Web Regression Test Run
on:
schedule:
- cron: "0 4 * * 1-5" # Monday to Friday at 4:00 AM UTC
workflow_dispatch:
inputs:
HTML_REPORT_GENERATION:
type: choice
description: "HTML report generation"
default: "onFailure"
options:
- "true"
- "false"
- "onFailure"
TESTOMAT_REPORT_GENERATION:
type: choice
description: "Testomat test run report generation"
default: "true"
options:
- "true"
- "false"
jobs:
parallel_test:
name: "Web Parallel Regression Test Run"
uses: ./.github/workflows/common-test.yml
with:
SPECS_TYPE: web
IS_PARALLEL_RUN: "true"
HTML_REPORT_GENERATION: ${{ inputs.HTML_REPORT_GENERATION || 'onFailure' }}
HTML_REPORT_NAME: "web-parallel-regression"
TESTOMAT_REPORT_GENERATION: ${{ inputs.TESTOMAT_REPORT_GENERATION || 'true' }}
TESTOMATIO_TITLE: "Web Parallel-Regression"
secrets:
SEED_PHRASE: ${{ secrets.SEED_PHRASE }}
TESTOMAT_API_KEY: ${{ secrets.TESTOMAT_API_KEY }}
sequential_test:
name: "Web Sequential Regression Test Run"
uses: ./.github/workflows/common-test.yml
with:
SPECS_TYPE: web
SPECS_FOLDER_NAME: swap
SPEC_NAMES: swapping
IS_PARALLEL_RUN: "false"
HTML_REPORT_GENERATION: ${{ inputs.HTML_REPORT_GENERATION || 'onFailure' }}
HTML_REPORT_NAME: "web-sequential-regression"
TESTOMAT_REPORT_GENERATION: ${{ inputs.TESTOMAT_REPORT_GENERATION || 'true' }}
TESTOMATIO_TITLE: "Web Sequential-Regression"
secrets:
SEED_PHRASE: ${{ secrets.SEED_PHRASE }}
TESTOMAT_API_KEY: ${{ secrets.TESTOMAT_API_KEY }}