-
Notifications
You must be signed in to change notification settings - Fork 17
49 lines (42 loc) · 1.05 KB
/
tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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