Skip to content

Commit 1f1ba69

Browse files
committed
adding django to test matrix and removing coveralls
1 parent 2b498af commit 1f1ba69

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ jobs:
1313
python-version: '3.12'
1414
- name: Install dependencies
1515
run: |
16-
python -m pip install --upgrade pip
17-
pip install -r requirements_dev.txt --upgrade
18-
pip install -r requirements.txt --upgrade
16+
pip install -r requirements_dev.txt
17+
pip install -r requirements.txt
1918
- name: Run tests
2019
run: |
2120
make lint
@@ -25,6 +24,7 @@ jobs:
2524
strategy:
2625
matrix:
2726
python-version: ['3.10', '3.11', '3.12']
27+
django-version: ['django>=3.2,<5.0', 'django>=5.0', '--upgrade --pre django']
2828
services:
2929
postgres:
3030
image: postgres
@@ -47,15 +47,9 @@ jobs:
4747
python-version: ${{ matrix.python-version }}
4848
- name: Install dependencies
4949
run: |
50-
python -m pip install --upgrade pip
51-
pip install -r requirements_dev.txt --upgrade
52-
pip install -r requirements.txt --upgrade
50+
pip install -e .
51+
pip install -r requirements_dev.txt
52+
pip install {{ matrix.django-version }}
5353
- name: Run tests
5454
run: |
5555
make test
56-
- name: Create coverage report
57-
run: |
58-
make test-coverage
59-
- name: Upload coverage report
60-
run: |
61-
make test-coveralls

0 commit comments

Comments
 (0)