Skip to content

properties to registry upgrade fixes #111

properties to registry upgrade fixes

properties to registry upgrade fixes #111

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Caching
uses: actions/cache@v1.2.0
with:
path: |
eggs
key: cache-Py2.7-Plone4.3
- name: Install venv
run: |
pip install virtualenv
virtualenv -p 2 .
bin/pip install -r requirements.txt
bin/buildout -c test-4.3.x.cfg install copy_ckeditor_code ckeditor pytest
- name: Run unit tests
run: |
bin/pytest
- name: Install Firefox
uses: browser-actions/setup-firefox@latest
- name: Install Geckodriver
uses: browser-actions/setup-geckodriver@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run robot tests
run: |
ROBOT_BROWSER=headlessFirefox bin/pytest -k "robot and not image2"
ROBOT_BROWSER=headlessFirefox bin/pytest -k "robot and image2"
- name: Run upgrade tests
run: |
bin/pytest -k "upgrade"