Skip to content

Fix tests

Fix tests #241

Workflow file for this run

name: Plone Starter CI
on: [push]
jobs:
generation:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
# git checkout
- name: Checkout codebase
uses: actions/checkout@v4
# Use node 16
- uses: actions/setup-node@v4
with:
node-version: 16
# Install yo
- name: Install yo
run: |
npm install -g yo
# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
# python install
- name: Install dependencies
run: |
pip install -r requirements.txt
# Test
- name: Run tests
run: |
python -m pytest tests