From 029948102bde94cd2004e89007920a7f1ca2f698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20=C5=A0milauer?= Date: Fri, 13 Dec 2024 10:04:20 +0100 Subject: [PATCH] install mupif in workflow definition (and use uv there for the speedup) --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 28bcc41..6e3c20b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,8 +24,10 @@ jobs: run: | wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - && echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list sudo apt-get update && sudo apt-get -y install python3-wheel python3-pip mongodb-org - python -m pip install -q flake8 - pip install -r requirements.txt + python -m pip install -q uv + uv pip install --system flake8 + uv pip install --system git+https://github.com/mupif/mupif.git@master + uv pip install --system -r requirements.txt - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names