Skip to content

Commit

Permalink
Update tox/GH actions to align support ([py310, py311], [dj41, dj42, …
Browse files Browse the repository at this point in the history
…djdev]), lint on py311
  • Loading branch information
JonathanWillitts committed Jun 14, 2023
1 parent b611ea5 commit d6d3e82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.10', '3.11']
django-version: ['4.0', '4.1', 'dev']

django-version: ['4.1', '4.2', 'dev']
exclude:
- python-version: '3.10'
django-version: 'dev'
steps:
- name: Install pycups and words dependency
run: |
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exclude_lines = [
legacy_tox_ini = """
[tox]
envlist =
py{310,311}-dj{41,dev},
py{310,311}-dj{41,42,dev},
lint
isolated_build = true
Expand All @@ -48,7 +48,8 @@ python =
[gh-actions:env]
DJANGO =
4.1: dj41, lint
4.1: dj41
4.2: dj42, lint
dev: djdev
[testenv]
Expand All @@ -58,6 +59,7 @@ deps =
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/edc.txt
-r https://raw.githubusercontent.com/clinicedc/edc/develop/requirements.tests/third_party_dev.txt
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
djdev: https://github.com/django/django/tarball/main
commands =
Expand Down

0 comments on commit d6d3e82

Please sign in to comment.