From d257697072b4b77135496db081816c202668ebe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20De=20Keersmaeker?= <francois.dekeersmaeker@uclouvain.be> Date: Wed, 11 Dec 2024 10:45:16 +0100 Subject: [PATCH] CI: updated requirements + tests --- .gitlab-ci.yml | 3 ++- requirements.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 117d802..0df509a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,11 @@ test-job: - python3 -m venv .venv # Create Python virtual environment - source .venv/bin/activate # Activate Python virtual environment - pip3 install -r requirements.txt # Install Python dependencies + - pip3 install pytest # Install pytest + - pytest test/ # Run tests - pip3 install build # Install build package - python3 -m build # Build package - pip3 install . # Install package - - python3 test/test.py # Run tests pages: script: diff --git a/requirements.txt b/requirements.txt index 5dfdd76..5f9b559 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ # Libraries -build PyYAML Jinja2 -- GitLab