Portfolio - Staging vs Production #13
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
name: Portfolio - Staging vs Production | |
on: | |
workflow_dispatch: | |
inputs: | |
flags_features: | |
description: 'Features Flags to enable / disable. For example: "flag1:true flag2:false"' | |
type: string | |
default: '' | |
required: false | |
jobs: | |
no-wallet-tests-2: | |
name: 'Portfolio - Staging vs Production - TEST' | |
uses: ./.github/workflows/z_Reusable_RegressionNoWallet.yml | |
with: | |
base_url: ${{ inputs.base_url }} | |
flags_features: ${{ inputs.flags_features}} | |
script: portfolio:staging-vs-production | |
no-wallet-tests: | |
name: 'Portfolio - Staging vs Production' | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.37.1-jammy | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: yarn | |
- name: Run NO-WALLET tests | |
run: FLAGS_FEATURES=${{ inputs.flags_features}} yarn portfolio:staging-vs-production | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report-no-wallet-portfolio | |
path: playwright-reports/no-wallet-portfolio | |
retention-days: 30 |