add loss check for easy cases #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Colcon Tests | |
on: | |
push: | |
branches: | |
- main | |
- ci | |
pull_request: | |
jobs: | |
colcon-test: | |
runs-on: self-hosted # Use your self-hosted runner | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set CUDA Path | |
run: echo "/usr/local/cuda/bin" >> $GITHUB_PATH | |
# Run build and tests using the run script | |
- name: Run build and tests | |
run: | | |
source /opt/ros/foxy/setup.sh # Source ROS 2 Foxy | |
chmod +x ./run # Ensure the run script is executable | |
nvcc -V # Check the CUDA version | |
./run test # Run your test script |