Skip to content

Commit e97f1be

Browse files
Fix/ci workflow (#16)
* only test certain packages and drop old flags * fix missing package names
1 parent 307ece6 commit e97f1be

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# based on https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
33
name: Semantic Inference Build and Test
4-
on: [pull_request]
4+
on: {push: {branches: [main]}, pull_request: {branches: [main]}}
55
jobs:
66
lint:
77
runs-on: ubuntu-latest
@@ -26,15 +26,9 @@ jobs:
2626
shell: bash
2727
run: |
2828
source /opt/ros/jazzy/setup.bash
29-
colcon build --cmake-args --no-warn-unused-cli \
30-
-DCMAKE_BUILD_TYPE=Release \
31-
-DCONFIG_UTILS_BUILD_TESTS=OFF \
32-
-DCONFIG_UTILS_BUILD_DEMOS=OFF \
33-
-DCONFIG_UTILS_ENABLE_GLOG=OFF \
34-
-DCONFIG_UTILS_ENABLE_ROS=OFF \
35-
-DSEMANTIC_INFERENCE_USE_TRT=OFF
29+
colcon build --cmake-args --no-warn-unused-cli -DCMAKE_BUILD_TYPE=Release -DSEMANTIC_INFERENCE_USE_TRT=OFF
3630
- name: Test
3731
shell: bash
3832
run: |-
3933
source /opt/ros/jazzy/setup.bash
40-
colcon test
34+
colcon test --packages-select semantic_inference semantic_inference_ros

0 commit comments

Comments
 (0)