Back to development: 1.16.3 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python: 2.7.18 | |
plone: 4.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up pyenv and Python | |
uses: "gabrielfalcao/pyenv-action@v14" | |
with: | |
default: "${{ matrix.python }}" | |
- name: Setup Env | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Cache eggs | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-eggs | |
with: | |
path: ~/buildout-cache/eggs | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.python }}-${{ matrix.plone }} | |
# - name: Cache eggs restore | |
# id: cache-restore | |
# uses: actions/cache/restore@v3 | |
# env: | |
# cache-name: cache-eggs | |
# with: | |
# path: ~/buildout-cache/eggs | |
# key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.python }}-${{ matrix.plone }} | |
- name: buildout | |
run: | | |
buildout -c gha.cfg annotate | |
buildout -c gha.cfg | |
# - name: Cache eggs save | |
# uses: actions/cache/save@v3 | |
# with: | |
# path: ~/buildout-cache/eggs | |
# key: ${{ steps.cache-restore.outputs.cache-primary-key }} | |
- name: test | |
run: | | |
bin/test -t !robot |