Add subtitle to SearchableText #325
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: 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 |