From b493f22a0fc38d74a0276107490e0e4f9998411e Mon Sep 17 00:00:00 2001 From: Vitaliy Stoliarov Date: Wed, 17 Jan 2024 22:03:22 +0200 Subject: [PATCH] rollback regression.yml --- .github/workflows/regression.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index a185c4e..7e06697 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -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: | @@ -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() && @@ -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 }} @@ -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