diff --git a/.github/workflows/ci-quality.yml b/.github/workflows/ci-quality.yml index fe0ab7f..c12eaff 100644 --- a/.github/workflows/ci-quality.yml +++ b/.github/workflows/ci-quality.yml @@ -133,8 +133,18 @@ jobs: run: sudo apt-get install -y libcairo2-dev - name: Install dependencies run: pip install -r requirements.txt coverage + - name: Cache Playwright browsers + id: playwright-cache + uses: actions/cache@v4 + with: + path: ~/.cache/ms-playwright + key: ${{ runner.os }}-playwright-1.62.0 - name: Install Playwright run: playwright install --with-deps chromium + if: steps.playwright-cache.outputs.cache-hit != 'true' + - name: Install Playwright system deps only + run: playwright install-deps chromium + if: steps.playwright-cache.outputs.cache-hit == 'true' - name: Collect static files run: python manage.py collectstatic --noinput --verbosity 0 - name: Run integration tests