diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae8072452..29cbcaef6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,10 +38,6 @@ include: - local: .gitlab/ci/ctrace.gitlab-ci.yml - local: .gitlab/ci/leep.gitlab-ci.yml -leep_test: - script: - - cd projects/common && PYTHONPATH=../../build-tools python3 -m unittest -v - flake8: stage: test script: diff --git a/.gitlab/ci/leep.gitlab-ci.yml b/.gitlab/ci/leep.gitlab-ci.yml index 856356430..0b5b366b0 100644 --- a/.gitlab/ci/leep.gitlab-ci.yml +++ b/.gitlab/ci/leep.gitlab-ci.yml @@ -1,4 +1,11 @@ -leep_test2: +leep_test: stage: test + before_script: + - python3 -m pip \ + build \ + hatch \ + hatchling + - cd projects/common/leep script: - - make -C projects/common/leep && make -C projects/common/leep clean + - python -m build -v + - hatch test -v