Skip to content

Allow customizing ddc vocabularies (and revert additions from daughters) #321

Allow customizing ddc vocabularies (and revert additions from daughters)

Allow customizing ddc vocabularies (and revert additions from daughters) #321

Workflow file for this run

name: tests
on:
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
config:
- ["Py3.9-Plone6", "3.9"]
- ["Py3.10-Plone6", "3.10"]
- ["Py3.11-Plone6", "3.11"]
runs-on: ubuntu-latest
name: ${{ matrix.config[0] }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config[1] }}
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cache/pip
**/eggs
**/downloads
key: ${{ runner.os }}-cache-${{ hashFiles('setup.*', '*.cfg') }}-${{ matrix.config[0] }}
restore-keys: |
${{ runner.os }}-cache-
- name: Code Analysis
uses: pre-commit/[email protected]
if: ${{ matrix.config[1] == '3.11' }}
- name: Install dependencies
run: |
make
- name: Test
run: |
./bin/coverage run ./bin/test -s recensio.plone
./bin/coverage report --fail-under=1 -i