Skip to content

Commit

Permalink
Merge pull request #5 from nobleo/industrial-ci
Browse files Browse the repository at this point in the history
Industrial ci
  • Loading branch information
Timple authored Sep 22, 2021
2 parents c6edd9c + 388bc15 commit 709a2d2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI

on: [push, pull_request]

jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: melodic}
- {ROS_DISTRO: noetic, CMAKE_ARGS: '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON'}
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
12 changes: 6 additions & 6 deletions test/test_path_tracking_pid_turn_skip.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ def test_exepath_action(self):

self.assertTrue(finished_in_time, msg="Action call didn't return in time")
self.assertEqual(client.get_state(), outcome_exp, msg="Wrong action outcome")
self.assertTrue(endpose_error < 0.5, msg="Did not arrive on final path's pose! \
pose: {}, {} endpoint: {}, {}".format(
self.cur_odom.pose.pose.position.x,
self.cur_odom.pose.pose.position.y,
path.poses[-1].pose.position.x,
path.poses[-1].pose.position.y))
self.assertTrue(endpose_error < 1.0, msg=
"Did not arrive on final path's pose! pose: {}, {} endpoint: {}, {}".format(
self.cur_odom.pose.pose.position.x,
self.cur_odom.pose.pose.position.y,
path.poses[-1].pose.position.x,
path.poses[-1].pose.position.y))


if __name__ == "__main__":
Expand Down

0 comments on commit 709a2d2

Please sign in to comment.