-
Notifications
You must be signed in to change notification settings - Fork 31
42 lines (40 loc) · 1.21 KB
/
db-logger.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
name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
django-version: ['1.9', '1.10', '1.11.17', '2.0', '2.2', '3.1', '3.2']
exclude:
- django-version: '2.0'
python-version: '2.7'
- django-version: '2.2'
python-version: '2.7'
- django-version: '3.1'
python-version: '2.7'
- django-version: '3.2'
python-version: '2.7'
- django-version: '1.9'
python-version: '3.8'
- django-version: '1.10'
python-version: '3.8'
- django-version: '1.9'
python-version: '3.9'
- django-version: '1.10'
python-version: '3.9'
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade Pip
run: pip install -U pip
- name: Install six
run: pip install six
- name: Install Django
run: pip install Django==${{ matrix.django-version }}
- name: Test
run: python test_manage.py test