Skip to content

Commit

Permalink
test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Dec 14, 2023
1 parent 40e5630 commit dff255f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.11']
django-version: ['4.2', 'dev']
python-version: ['3.11', '3.12']
django-version: ['4.2', '5.0', 'dev']

exclude:
- python-version: '3.12'
django-version: '4.2'
- python-version: '3.11'
django-version: 'dev'
services:
mysql:
image: mysql:latest
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Base classes for participant loss to follow up form and processes
.. |pypi| image:: https://img.shields.io/pypi/v/edc-ltfu.svg
:target: https://pypi.python.org/pypi/edc-ltfu

.. |actions| image:: https://github.com/clinicedc/edc-ltfu/workflows/build/badge.svg?branch=develop
:target: https://github.com/clinicedc/edc-ltfu/actions?query=workflow:build
.. |actions| image:: https://github.com/clinicedc/edc-ltfu/actions/workflows/build.yml/badge.svg
:target: https://github.com/clinicedc/edc-ltfu/actions/workflows/build.yml

.. |codecov| image:: https://codecov.io/gh/clinicedc/edc-ltfu/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/clinicedc/edc-ltfu
Expand Down
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,22 @@ exclude_lines = [
legacy_tox_ini = """
[tox]
envlist =
py{311}-dj{42,dev},
py{311}-dj{42,50},
py{312}-dj{50,dev},
lint
isolated_build = true
[gh-actions]
python =
3.11: py311, lint
3.11: py311
3.12: py312, lint
[gh-actions:env]
DJANGO =
4.2: dj42, lint
dev: djdev
4.2: dj42
5.0: dj50
dev: djdev, lint
[testenv]
deps =
Expand All @@ -56,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
dj42: Django>=4.2,<5.0
dj50: Django>=5.0
djdev: https://github.com/django/django/tarball/main
commands =
Expand Down

0 comments on commit dff255f

Please sign in to comment.