Latest project improvements #442
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: Test the Mosaic code | |
on: | |
# push: | |
# branches: | |
# - master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- "3.10" | |
- "3.11" | |
plone: | |
- "6.1-dev" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Plone ${{ matrix.plone }} with Python ${{ matrix.python }} | |
id: setup | |
uses: plone/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
plone-version: ${{ matrix.plone }} | |
- name: Install package | |
run: | | |
make VENV=off install | |
- uses: nanasess/setup-chromedriver@v2 | |
- name: Start chromedriver | |
run: | | |
export DISPLAY=:99 | |
chromedriver --url-base=/wd/hub & | |
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & | |
- name: Run tests | |
run: | | |
ROBOT_BROWSER=headlesschrome make VENV=off test-ignore-warnings | |
- name: Save Robotframework Log | |
uses: actions/upload-artifact@v4 | |
# safe artifacts only once | |
if: matrix.python == '3.11' | |
with: | |
name: robottest-logfiles | |
path: | | |
test_* | |
robot_* |