-
-
Notifications
You must be signed in to change notification settings - Fork 69
60 lines (50 loc) · 1.49 KB
/
tests.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
51
52
53
54
55
56
57
58
59
60
name: tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
include:
- python-version: 3.7
django-version: Django==3.0
- python-version: 3.8
django-version: Django==3.2
- python-version: 3.9
django-version: Django==3.2
- python-version: 3.8
django-version: Django==4.2
- python-version: 3.9
django-version: Django==4.2
- python-version: "3.10"
django-version: Django==4.2
- python-version: "3.11"
django-version: Django==4.2
- python-version: "3.11"
django-version: Django==5.1
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -q ${{ matrix.django-version }}
python -m pip install .
python -m pip install coverage==5.3.1
python -m pip install coveralls==2.2.0
- name: Run Tests
run: |
python manage.py test
# coverage run --source=jet --omit=*/migrations/*,*/south_migrations/*,*/tests/* manage.py test
# - name: Coverage report
# run: |
# coverage report
# coveralls