From b5da44645d2c9931e8abe78bfd3999ee40834d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20De=20Keersmaeker?= <francois.dekeersmaeker@uclouvain.be> Date: Wed, 13 Nov 2024 12:23:11 +0100 Subject: [PATCH] Added GitLab CI config --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..83235cb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +test-job: + script: + - 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 -- GitLab