From 9ab8aa48b4a55e7d3751496214faf72c24e8fc4c Mon Sep 17 00:00:00 2001 From: 1letter <1letter@gmx.de> Date: Wed, 8 May 2024 08:23:26 +0200 Subject: [PATCH] Update plonetest-matrix.yml --- .github/workflows/plonetest-matrix.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/plonetest-matrix.yml b/.github/workflows/plonetest-matrix.yml index 2a99855..e21337e 100644 --- a/.github/workflows/plonetest-matrix.yml +++ b/.github/workflows/plonetest-matrix.yml @@ -4,9 +4,10 @@ name: Plone Python Matrix for Tests on: - # allow this workflow to be called - # by other workflows from other repositories - workflow_call: + push: + branches: [main] + pull_request: + branches: [main] jobs: test: @@ -33,14 +34,16 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install system libraries - run: sudo apt-get install libxml2-dev libxslt1-dev libjpeg-dev + run: sudo apt install libxml2-dev libxslt1-dev libjpeg-dev - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install tox tox-gh-actions mxdev + - name: Prepare Playwright Deps + run: sudo npx playwright install-deps - name: prepeare constraints run: | - sed "s/PLONE_VERSION/${{ matrix.plone-version }}/g" constraints-template.txt > constraints.txt + echo "-c https://dist.plone.org/release/${{ matrix.plone-version }}/constraints.txt" >> constraints.txt - name: Initialize tox if: contains(matrix.os, 'ubuntu') run: |