mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-04-11 22:38:21 +02:00
Add Djagno versions to test matrix
32 and 4 used for constraints
This commit is contained in:
parent
a51933f9bf
commit
cd480b2750
5
.github/workflows/pythonpackage.yml
vendored
5
.github/workflows/pythonpackage.yml
vendored
@ -10,6 +10,7 @@ jobs:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
django-version: ["32","4"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -21,12 +22,12 @@ jobs:
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-testing.txt')}}-${{ hashFiles('tox.ini') }}-${{ matrix.python-version }}
|
||||
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-testing.txt')}}-${{ hashFiles('tox.ini') }}-${{ matrix.python-version }}-${{ matrix.django-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt -r requirements-testing.txt -c constraints-Django32.txt
|
||||
pip install -r requirements.txt -r requirements-testing.txt -c constraints-Django${{ matrix.django-version }}.txt
|
||||
|
||||
- name: Format style check with 'autopep8'
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user