Skip to content
Snippets Groups Projects
Commit 29ed01bb authored by Simon Wittl's avatar Simon Wittl
Browse files

added test and docu

parent eae3f2b6
No related branches found
No related tags found
No related merge requests found
stages:
- test
- build
- docu
build-ros:
stage: build
rq-pytests:
stage: test
image: ros:humble
before_script:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
......@@ -12,12 +14,36 @@ build-ros:
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
script:
- rosdep install --from-paths . -y --ignore-src
- colcon build --merge-install
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
script:
- pytest ./rq_controller/tests/
build-ros:
stage: build
image: ros:humble
dependencies: [rq-pytests]
needs:
- rq-pytests
artifacts:
when: always
paths:
- install
create-docu:
stage: docu
image: ros:humble
dependencies: [rq-pytests]
needs:
- rq-pytests
before_script:
- pip install pdoc3
- source ./install/setup.bash
script:
- mkdir doc
- pdoc3 --html rq_controller -o=./doc/rq_controller -c show_source_code=True
artifacts:
when: always
paths:
- doc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment