From 79a78903c4cb5b3bae7340635380454e638dddb4 Mon Sep 17 00:00:00 2001 From: Lucas Russo Date: Mon, 18 Nov 2024 13:37:24 -0800 Subject: [PATCH] .gitlab*: add basic leep packaging build/tests --- .gitlab-ci.yml | 1 + .gitlab/ci/leep_package.gitlab-ci.yml | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .gitlab/ci/leep_package.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae8072452..64b3b8368 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,7 @@ include: - local: .gitlab/ci/localbus.gitlab-ci.yml - local: .gitlab/ci/ctrace.gitlab-ci.yml - local: .gitlab/ci/leep.gitlab-ci.yml + - local: .gitlab/ci/leep_package.gitlab-ci.yml leep_test: script: diff --git a/.gitlab/ci/leep_package.gitlab-ci.yml b/.gitlab/ci/leep_package.gitlab-ci.yml new file mode 100644 index 000000000..8c31ee8b4 --- /dev/null +++ b/.gitlab/ci/leep_package.gitlab-ci.yml @@ -0,0 +1,11 @@ +leep_package: + stage: test + before_script: + - python3 -m pip \ + build \ + hatch \ + hatchling + - cd projects/common/leep + script: + - python -m build -v + - hatch test -v