FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Move over to using poetry for packaging and pre-commit for code checking

Merged Dr Rich Wareham requested to merge issue-3-port-to-poetry into main
7 files
+ 1043
65
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 6
3
@@ -2,19 +2,22 @@
include:
- project: 'uis/devops/continuous-delivery/ci-templates'
file: '/auto-devops/common-pipeline.yml'
ref: v2.4.0
ref: v3.0.0
variables:
# we don't have an application for DAST to run against, so disable it
DAST_DISABLED: "true"
DAST_DISABLED: "1"
# we don't build any Docker images
BUILD_DISABLED: "1"
python:tox:
parallel:
matrix:
- DJANGO_VERSION: ["django3.2", "django4.1", "django4.2"]
PYTHON_VERSION: !reference [".python:versions"]
PYTHON_VERSION: ["3.10", "3.11"]
- TOX_ENV: flake8
- TOX_ENV: py3 # Bare "py3" required to upload coverage and unit test reports.
variables:
TOX_ENV: py3-$DJANGO_VERSION
TOX_OPTS: -e $TOX_ENV
TOX_ADDITIONAL_REQUIREMENTS: poetry
Loading