From 7241f3eb1d8f69bc305287798f2f84c915485d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20=7C=20Ail=C3=A9?= <03ht@theodurr.fr> Date: Sun, 8 May 2022 12:09:37 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20pygraphviz=20en=20d=C3=A9pendance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 6 +++++- pyproject.toml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91a118ce..936f47e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ unittests: - poetry run ./manage.py compilemessages # Run tests and export report - poetry run coverage run ./manage.py test - - poetry run coverage html + - poetry run coverage xml - poetry run coverage report # Build documentation - cd doc @@ -32,9 +32,13 @@ unittests: paths: - .cache/pip_tests artifacts: + when: always paths: + - coverage.xml - coverage_report/ - docs/_build + reports: + junit: coverage.xml # Check black black: diff --git a/pyproject.toml b/pyproject.toml index bffcffa0..fe92876b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ homepage = "https://ae.utbm.fr/" license = "GPL-3.0-only" [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" Django = "^2.2" Pillow = "^8.3.2" mistune = "^0.8.4" @@ -41,7 +41,7 @@ django-simple-captcha = "^0.5.14" python-dateutil = "^2.8.2" psycopg2-binary = "2.8.6" sentry-sdk = "^1.4.3" -graphviz = "^0.17" +pygraphviz = "^1.9" Jinja2 = "<=3.0.3" # Extra optional dependencies