Skip to content

Rete QA for angular v13 #49

Rete QA for angular v13

Rete QA for angular v13 #49

Workflow file for this run

name: Rete QA Regression
run-name: Rete QA for ${{ inputs.name }} v${{ inputs.version }}
on:
workflow_call:
inputs:
name:
required: true
type: string
version:
required: true
type: number
node:
type: number
workflow_dispatch:
inputs:
name:
required: true
type: choice
description: Stack
options:
- react
- vue
- angular
- svelte
version:
required: true
type: number
description: Stack version
node:
type: number
description: 'Node.js version (default: 16)'
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Install fonts
run: |
sudo apt-get -qqy update
sudo apt-get -qqy --no-install-recommends install \
libfontconfig \
libfreetype6 \
xfonts-cyrillic \
xfonts-scalable \
fonts-liberation \
fonts-ipafont-gothic \
fonts-wqy-zenhei \
fonts-tlwg-loma-otf \
fonts-freefont-ttf
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get -qyy clean
- uses: actions/setup-node@v3
with:
node-version: ${{ github.event.inputs.node || inputs.node || 16 }}
- name: Install Rete QA
run: npm i -g rete-qa rete-kit
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Init application
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 || inputs.name }} -sv ${{ github.event.inputs.version || inputs.version }}
- uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: test-results/
retention-days: 7