Skip to content

Commit

Permalink
.gitlab*: add basic leep packaging build/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lerwys committed Nov 18, 2024
1 parent eeb536d commit f44997d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
11 changes: 9 additions & 2 deletions .gitlab/ci/leep.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f44997d

Please sign in to comment.