Skip to content

Commit

Permalink
Update regression.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN authored Dec 22, 2023
1 parent b28c7c9 commit 5053061
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ on:
workflow_call:
inputs:
name:
required: true
type: string
version:
required: true
type: number
workflow_dispatch:
inputs:
name:
required: true
type: choice
description: Stack
options:
Expand All @@ -19,6 +22,7 @@ on:
- angular
- svelte
version:
required: true
type: number
description: Stack version

Expand Down Expand Up @@ -50,11 +54,11 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Init application
run: rete-qa init -s ${{ github.event.inputs.name }} -sv ${{ github.event.inputs.version }}
run: rete-qa init -s ${{ github.event.inputs.name || inputs.name }} -sv ${{ github.event.inputs.version || inputs.version }}
env:
CI: ""
- name: Run Playwright tests
run: rete-qa test -s ${{ github.event.inputs.name }} -sv ${{ github.event.inputs.version }}
run: rete-qa test -s ${{ github.event.inputs.name || inputs.name }} -sv ${{ github.event.inputs.version || inputs.version }}
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit 5053061

Please sign in to comment.