Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GHA 2.7 support #214

Merged
merged 8 commits into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
matrix:
config:
# [Python version, tox env]
- ["2.7", "plone43-py27"]
- ["2.7", "plone50-py27"]
- ["2.7", "plone51-py27"]
- ["2.7", "plone52-py27"]
- ["3.6", "plone52-py36"]
- ["3.7", "plone52-py37"]
- ["3.8", "plone52-py38"]
Expand All @@ -28,11 +24,6 @@ jobs:
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v3
- name: Install lxml dev libraries
# Needed to avoid error on Plone 5.0.
# Error: Please make sure the libxml2 and libxslt development packages are installed.
run: sudo apt-get install libxml2-dev libxslt1-dev
if: matrix.config[1] == 'plone50-py27'
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -64,3 +55,21 @@ jobs:
${{ runner.os }}-eggs-${{ matrix.config[0] }}-
- name: Test
run: tox -e ${{ matrix.config[1] }}
build-27:
strategy:
fail-fast: false
matrix:
config:
# [tox env, docker image]
- ["plone43-py27", "plone/test-with-tox:4.3-2.7"]
- ["plone50-py27", "plone/test-with-tox:5.0-2.7"]
- ["plone51-py27", "plone/test-with-tox:5.1-2.7"]
- ["plone52-py27", "plone/test-with-tox:5.2-2.7"]
runs-on: ubuntu-20.04
container:
image: ${{ matrix.config[1] }}
name: ${{ matrix.config[0] }}
steps:
- uses: actions/checkout@v3
- name: Test
run: tox -e ${{ matrix.config[0] }}