8
8
strategy :
9
9
matrix :
10
10
python-version : [3.11, 3.12, 3.13]
11
- sqlalchemy-version : [1.3, 1.4]
12
- django-version : [2.2, 4.2]
13
- name : Test Py ${{ matrix.python-version }}, SQLA ${{ matrix.sqlalchemy-version }}, Django ${{ matrix.django-version }}
11
+ name : Test Py ${{ matrix.python-version }}
14
12
steps :
15
13
- uses : actions/checkout@v3
16
14
- name : Set up Python ${{ matrix.python-version }}
@@ -23,19 +21,17 @@ jobs:
23
21
version : 1.3.2
24
22
- name : Install dependencies
25
23
run : |
26
- sed -i.bak 's/^SQLAlchemy = .*/SQLAlchemy = "^${{ matrix.sqlalchemy-version }}"/' pyproject.toml
27
- sed -i.bak 's/^Django = .*/Django = "^${{ matrix.django-version }}"/' pyproject.toml
28
24
poetry install
29
25
- name : Test with pytest
30
26
run : |
31
27
poetry run pytest -rfs --cov --cov-config=.coveragerc --cov-report="" --disable-warnings
32
- cp .coverage ".coverage.${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.django-version }} "
28
+ cp .coverage ".coverage.${{ matrix.python-version }}"
33
29
- name : Upload coverage report
34
30
uses : actions/upload-artifact@v4
35
31
with :
36
- name : coverage-reports-${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.django-version }}
32
+ name : coverage-reports-${{ matrix.python-version }}
37
33
include-hidden-files : true
38
- path : " .coverage.${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.django-version }} "
34
+ path : " .coverage.${{ matrix.python-version }}"
39
35
40
36
coverage-check :
41
37
name : Coverage check
0 commit comments