Skip to content

Commit

Permalink
Upload URSim logfiles in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertWilbrandt committed Oct 19, 2023
1 parent 4e72386 commit ba3dc60
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/reusable_ici.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,21 @@ jobs:
ROS_DISTRO: ${{ inputs.ros_distro }}
ROS_REPO: ${{ inputs.ros_repo }}
CMAKE_ARGS: -DUR_ROBOT_DRIVER_BUILD_INTEGRATION_TESTS=ON
- name: Generate URSim log files
if: always()
run: |
nc -q 1 192.168.56.101 29999 <<END
saveLog
END
mkdir -p ursim_logs
docker cp ursim:/ursim/URControl.log ursim_logs/URControl.log
docker cp ursim:/ursim/polyscope.log ursim_logs/polyscope.log
docker cp ursim:/ursim/log_history.txt ursim_logs/log_history.txt
- name: Upload URSim logfiles
uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ inputs.ros_distro }}_${{ inputs.ros_repo }}_URSim_Logs
path: ursim_logs
if-no-files-found: error
retention-days: 10

0 comments on commit ba3dc60

Please sign in to comment.