Annotate transaction in POST calls to authenticate a user. (Fixes #70) #75
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: Build and test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- 3.7 | |
- 3.8 | |
- 3.9 | |
- "3.10" | |
- "3.11" | |
plone: | |
- "6.0-latest" | |
- "5.2-latest" | |
exclude: | |
- plone: "5.2-latest" | |
python: 3.9 | |
- plone: "5.2-latest" | |
python: "3.10" | |
- plone: "5.2-latest" | |
python: "3.11" | |
- plone: "6.0-latest" | |
python: 3.7 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Plone ${{ matrix.plone }} with Python ${{ matrix.python }} | |
id: setup | |
uses: plone/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
plone-version: ${{ matrix.plone }} | |
# Install pas.plugins.authomatic with test extras | |
- name: Install pas.plugins.authomatic | |
run: | | |
pip install ".[test]" | |
# test | |
- name: Test Codebase | |
run: | | |
zope-testrunner --auto-color --auto-progress --test-path src |