diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 117d802f2cbb76669abc1b31e3cd362cee03113d..0df509a1f536082116430f4ba5168baa3f127126 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 5dfdd76661380c0e1935671366908cbbafa522d2..5f9b5592e81ff119d837fa490599bd168c566a72 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ # Libraries -build PyYAML Jinja2