Skip to content
Snippets Groups Projects
Commit 0cea7c7a authored by Julian's avatar Julian
Browse files

CI cleanup

parent 687035b8
Branches
No related tags found
No related merge requests found
Pipeline #24450 passed
......@@ -32,7 +32,7 @@ linter:buster:
image: registry.git.cccv.de/uffd/docker-images/buster
stage: test
script:
- pip3 install pylint-gitlab
- pip3 install $PYLINT_PIN pylint-gitlab # this force-updates jinja2 and some other packages!
- python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabCodeClimateReporter app.py > codeclimate.json
- python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabPagesHtmlReporter app.py > pylint.html
- python3 -m pylint --rcfile .pylintrc --output-format=text app.py
......@@ -47,7 +47,7 @@ linter:bullseye:
image: registry.git.cccv.de/uffd/docker-images/bullseye
stage: test
script:
- pip3 install pylint-gitlab
- pip3 install $PYLINT_PIN pylint-gitlab # this force-updates jinja2 and some other packages!
- python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabCodeClimateReporter app.py > codeclimate.json
- python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabPagesHtmlReporter app.py > pylint.html
- python3 -m pylint --rcfile .pylintrc --output-format=text app.py
......@@ -62,8 +62,7 @@ unittests:buster:
image: registry.git.cccv.de/uffd/docker-images/buster
stage: test
script:
- service slapd start
- UNITTEST_OPENLDAP=1 python3-coverage run --include 'app.py' -m pytest --junitxml=report.xml || true
- python3-coverage run --include 'app.py' -m pytest --junitxml=report.xml || true
- python3-coverage report -m
- python3-coverage html
- python3-coverage xml
......@@ -84,8 +83,7 @@ unittests:bullseye:
image: registry.git.cccv.de/uffd/docker-images/bullseye
stage: test
script:
- service slapd start
- UNITTEST_OPENLDAP=1 python3-coverage run --include 'app.py' -m pytest --junitxml=report.xml || true
- python3-coverage run --include 'app.py' -m pytest --junitxml=report.xml || true
#- python3-coverage report -m
- python3-coverage html
#- python3-coverage xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment