Web Regression Test Run #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
mento_web_sequential_regression_test: | |
name: "[Mento-Web] 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: "mento-web-sequential-regression" | |
TESTOMAT_REPORT_GENERATION: ${{ inputs.TESTOMAT_REPORT_GENERATION || 'true' }} | |
TESTOMATIO_TITLE: "[Mento-Web] Web Sequential-Regression" | |
secrets: | |
SEED_PHRASE: ${{ secrets.SEED_PHRASE }} | |
TESTOMAT_API_KEY: ${{ secrets.TESTOMAT_API_KEY }} | |
# Disabled because of bug https://github.com/TenKeyLabs/dappwright/issues/406 | |
# Now all tests run sequentially - change back after fixing (Commented vars from sequential_test as well) | |
# | |
# mento_web_parallel_regression_test: | |
# name: "[Mento-Web] 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: "mento-web-parallel-regression" | |
# TESTOMAT_REPORT_GENERATION: ${{ inputs.TESTOMAT_REPORT_GENERATION || 'true' }} | |
# TESTOMATIO_TITLE: "[Mento-Web] Web Parallel-Regression" | |
# | |
# secrets: | |
# SEED_PHRASE: ${{ secrets.SEED_PHRASE }} | |
# TESTOMAT_API_KEY: ${{ secrets.TESTOMAT_API_KEY }} |