Skip to content

Commit

Permalink
Updated CI configuration to run Python unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Dec 6, 2022
1 parent 62808d2 commit fd6d5d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/focal_noetic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
ROS_DISTRO: noetic
PREFIX: ${{ github.repository }}_

jobs:
ci:
Expand Down Expand Up @@ -54,11 +55,12 @@ jobs:
OS_NAME: ubuntu
OS_CODE_NAME: focal
ROS_REPO: main
PREFIX: ${{ github.repository }}_
CMAKE_ARGS: '-DENABLE_TESTING=ON -DENABLE_RUN_TESTING=OFF'
BEFORE_RUN_TARGET_TEST_EMBED: 'ici_with_unset_variables source $BASEDIR/${PREFIX}target_ws/install/setup.bash'
DOCKER_IMAGE: 'ros:${{ env.ROS_DISTRO }}'
DOCKER_COMMIT: ${{ steps.meta.outputs.tags }}
AFTER_INSTALL_TARGET_DEPENDENCIES: 'python3 -m pip install -r reach/requirements.txt'
BEFORE_RUN_TARGET_TEST_EMBED: 'ici_with_unset_variables source $BASEDIR/${PREFIX}target_ws/install/setup.bash'
AFTER_SCRIPT: 'rosenv python3 -m pytest -v'

- name: Push post-build Docker
if: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' }}
Expand Down

0 comments on commit fd6d5d7

Please sign in to comment.