Skip to content

Back to development: 2.0.4 #70

Back to development: 2.0.4

Back to development: 2.0.4 #70

name: Tests
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.9"
plone-version: "6.0"
- python-version: "3.10"
plone-version: "6.0"
steps:
# git checkout
- uses: actions/checkout@v2
# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# python eggs cache
- name: Cache eggs
uses: actions/cache@v4
env:
cache-name: cache-eggs
with:
path: ./eggs
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.python-version }}-${{ matrix.plone-version }}
# python install
- name: pip install
run: pip install -r requirements.txt
# buildout
- name: buildout
run: buildout -t 10 -c buildout.cfg
# test
- name: test
run: bin/test