-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (33 loc) · 833 Bytes
/
tests.yml
File metadata and controls
40 lines (33 loc) · 833 Bytes
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
name: Test the code
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python:
- 3.8
- 3.9
plone:
- "6.0-latest"
- "5.2-latest"
exclude:
- plone: "5.2-latest"
python: 3.9
steps:
- uses: actions/checkout@v2
- name: Setup Plone ${{ matrix.plone }} with Python ${{ matrix.python }}
id: setup
uses: plone/setup-plone@v1.0.0
with:
python-version: ${{ matrix.python }}
plone-version: ${{ matrix.plone }}
# Install kitconcept.api with test extras
- name: Install kitconcept.api
run: |
pip install ".[test]"
# test
- name: Test Codebase
run: |
zope-testrunner --auto-color --auto-progress --test-path src