Skip to content

fix naming

fix naming #129

Workflow file for this run

---
name: test-build
on:
# Triggers the workflow on push or pull request events but
# only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions: read-all
jobs:
vanilla-build:
runs-on: intellabs-01
container:
image: osrf/ros:humble-desktop
permissions:
# checks: write
pull-requests: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
with:
submodules: true
- name: Setup Dependencies
run: |
apt update
apt install -y python3-pip
xargs -a deb_requirements.txt apt install -y --no-install-recommends
rosdep update --rosdistro=humble
rosdep install --rosdistro=humble --from-paths . --ignore-src -r -y
pip3 install -r requirements.txt
- name: Build
shell: bash
run: |
source /opt/ros/humble/setup.bash
colcon build --continue-on-error
source install/setup.bash
- name: Test
shell: bash
run: |
source /opt/ros/humble/setup.bash
source install/setup.bash
export -n CYCLONEDDS_URI
export ROS_DOMAIN_ID=2
colcon test --packages-select \
scenario_execution_base \
scenario_execution \
scenario_execution_gazebo \
scenario_coverage \
--event-handlers console_direct+ \
--return-code-on-test-failure \
--pytest-args \
--junit-xml=TEST.xml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@f355d34d53ad4e7f506f699478db2dd71da9de5f #v2.15.1
if: always()
with:
check_run: false
files: |
scenario_execution_base//TEST.xml
scenario_execution//TEST.xml
scenario_execution_gazebo//TEST.xml
scenario_coverage//TEST.xml