Skip to content
Snippets Groups Projects
Commit e044c5e8 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

factorize tests

parent 7a500085
No related branches found
No related tags found
1 merge request!1build package
Pipeline #120562 failed with stage
in 1 minute and 24 seconds
image: docker:latest
stages:
- test
test37:
test:
stage: test
image: python:3.7
image: python:$PYTHON_VERSION
script:
- pip install "django==${DJANGO_VERSION}.*"
- pip install "django~=${DJANGO_VERSION}" --upgrade
- pip install -r requirements.txt
- coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m
parallel:
matrix:
- DJANGO_VERSION: ['3.2']
test38:
stage: test
image: python:3.8
script:
- pip install "django==${DJANGO_VERSION}.*"
- pip install -r requirements.txt
- coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m
parallel:
matrix:
- DJANGO_VERSION: ['3.2', '4.0']
test39:
stage: test
image: python:3.9
script:
- pip install "django==${DJANGO_VERSION}.*"
- pip install -r requirements.txt
- coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m
parallel:
matrix:
- DJANGO_VERSION: ['3.2', '4.0', '4.1']
test310:
stage: test
image: python:3.10
script:
- pip install "django==${DJANGO_VERSION}.*"
- pip install -r requirements.txt
- coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m
parallel:
matrix:
- DJANGO_VERSION: ['3.2', '4.0', '4.1']
testrc:
allow_failure: true
stage: test
image: python:rc
script:
- pip install "django==${DJANGO_VERSION}.*"
- pip install -r requirements.txt
- coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m
parallel:
matrix:
- DJANGO_VERSION: ['3.2', '4.0', '4.1']
- PYTHON_VERSION: ['3.7-slim', ]
DJANGO_VERSION: ['3.2', ]
- PYTHON_VERSION: ['3.8-slim', '3.9-slim', ]
DJANGO_VERSION: ['3.2', '4.2', ]
- PYTHON_VERSION: ['3.10-slim', ]
DJANGO_VERSION: ['5.0', 'latest', ]
- PYTHON_VERSION: ['rc', ]
DJANGO_VERSION: ['latest', ]
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment