Skip to content

Commit

Permalink
rollback regression.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN authored Jan 17, 2024
1 parent 4874fb1 commit b493f22
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
init:
name: Initialize ${{ inputs.name }} v${{ inputs.version }} app
runs-on: ubuntu-latest
container: ghcr.io/retejs/rete-qa:main
timeout-minutes: 5
needs: [tools,deps]
if: |
Expand Down Expand Up @@ -123,7 +122,6 @@ jobs:
name: ${{ matrix.browser }}
timeout-minutes: 60
runs-on: ubuntu-latest
container: ghcr.io/retejs/rete-qa:main
needs: [init,tools]
if: |
always() &&
Expand All @@ -134,6 +132,21 @@ jobs:
matrix:
browser: [chromium,firefox,webkit]
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/download-artifact@v4
with:
name: rete-qa-${{ inputs.name }}-v${{ inputs.version }}
Expand Down Expand Up @@ -161,6 +174,8 @@ jobs:
path: .
- name: Install Rete QA
run: npm i -g ${{ needs.tools.outputs.qa-path }} ${{ needs.tools.outputs.kit-path }}
- name: Install Playwright Browsers
run: npx playwright install --with-deps ${{ matrix.browser }}
- name: Run Playwright tests
run: rete-qa test -s ${{ inputs.name }} -sv ${{ inputs.version }} --project ${{ matrix.browser }}
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit b493f22

Please sign in to comment.