properties to registry upgrade fixes #110
Workflow file for this run
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: 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" |