Skip to content

Test plone6

Test plone6 #19

Workflow file for this run

# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
name: tests
on:
push:
branches: [master]
pull_request:
schedule:
- cron: "0 12 * * 0" # run once a week on Sunday
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- ["3.7", "py37-Plone52"]
- ["3.8", "py38-Plone52"]
- ["3.8", "py38-Plone60"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version[0] }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version[0] }}
- name: Pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.*', 'tox.ini') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Run tox
run: tox -e ${{ matrix.python-version[1] }}