forked from wagtail/wagtail-factories
-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (46 loc) · 1.42 KB
/
python-tox.yml
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
50
name: Python Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
tox_env:
- py36-django111-wagtail23
- py36-django111-wagtail26
- py36-django22-wagtail23
- py36-django22-wagtail26
- py37-django111-wagtail23
- py37-django111-wagtail26
- py37-django22-wagtail23
- py37-django22-wagtail26
include:
- python-version: "3.6"
tox_env: py36-django111-wagtail23
- python-version: "3.6"
tox_env: py36-django111-wagtail26
- python-version: "3.6"
tox_env: py36-django22-wagtail23
- python-version: "3.6"
tox_env: py36-django22-wagtail26
- python-version: "3.7"
tox_env: py37-django111-wagtail23
- python-version: "3.7"
tox_env: py37-django111-wagtail26
- python-version: "3.7"
tox_env: py37-django22-wagtail23
- python-version: "3.7"
tox_env: py37-django22-wagtail26
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox
- name: Test with tox
run: |
tox -e ${{ matrix.tox_env }}