From 9df381ec4cfde65d9be5c02bd3cf725491a801d4 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 30 Jun 2021 15:26:53 +0200 Subject: [PATCH] Do not require requirements.txt in GitLab CI --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b93f3e4c3..6573d4dbe8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,8 @@ tests: - virtualenv env - source env/bin/activate - pip install -U pip wheel setuptools - - XDG_CACHE_HOME=/cache pip3 install -r src/requirements.txt --no-use-pep517 -Ur src/requirements/dev.txt - cd src + - XDG_CACHE_HOME=/cache pip3 install -e ".[dev]" - python manage.py check - make all compress - py.test --reruns 3 -n 3 tests @@ -21,8 +21,8 @@ pypi: - virtualenv env - source env/bin/activate - pip install -U pip wheel setuptools check-manifest twine - - XDG_CACHE_HOME=/cache pip3 install -Ur src/requirements.txt -r src/requirements/dev.txt - cd src + - XDG_CACHE_HOME=/cache pip3 install -e ".[dev]" - python setup.py sdist - pip install dist/pretix-*.tar.gz - python -m pretix migrate