Skip to content

refactoring for issue #28788 #194

refactoring for issue #28788

refactoring for issue #28788 #194

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python: ['3.7']
plone: ['52']
exclude:
- python: '3.7'
plone: '51'
steps:
- uses: actions/checkout@v1
- name: Cache eggs
uses: actions/cache@v1
with:
path: eggs
key: ${{ runner.OS }}-build-python${{ matrix.python }}-${{ matrix.plone }}
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
# sudo apt-get update
# sudo apt-get install firefox-geckodriver
pip install -r requirements.txt -c constraints_plone${{ matrix.plone }}.txt
cp test_plone${{ matrix.plone }}.cfg buildout.cfg
- name: Install buildout
run: |
buildout -N -t 3 code-analysis:return-status-codes=True
- name: Code analysis
run: |
bin/code-analysis
- name: Run tests
run: |
bin/test