Skip to content

Commit

Permalink
Update plonetest-matrix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1letter authored May 8, 2024
1 parent 1c50df4 commit 9ab8aa4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/plonetest-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit 9ab8aa4

Please sign in to comment.