From 4cd478dad6bcbd3a6e850c70876166f63b2ea5fb Mon Sep 17 00:00:00 2001 From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de> Date: Fri, 23 Jun 2023 10:21:49 +0200 Subject: [PATCH] ci: install deps from pyproject.toml --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7499244..bede632 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ stages: - echo "Install Python3" - apt-get update - - apt-get install -y python3 python3-venv python3-rich + - apt-get install -y python3 python3-venv - python3 -m venv --help - python3 -m venv venv - source venv/bin/activate @@ -39,13 +39,10 @@ stages: - echo "Install Python dependencies for running the tests" - pip install -U pip - pip --version - - pip install pytest black ruff archspec - + - pip install .[dev] - echo "Diagnostics - which versions are we using" - python3 --version - pytest --version - - black --version - - ruff --version - echo "Install additional packages we need to run spack-setup.sh" - apt-get install -y git rsync -- GitLab