ROS2 tests (develop) #882
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: ROS2 tests (develop) | |
on: | |
schedule: | |
- cron: '0 02 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
industrial_ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
ROS_REPO: [main, testing] | |
ROS_DISTRO: [humble, jazzy, rolling] | |
runs-on: ubuntu-latest | |
env: | |
AFTER_INIT: ./scripts/ci_after_init.bash ${ROS_DISTRO} ${ROS_REPO} | |
BEFORE_INIT_EMBED: source scripts/ci_before_init_embed.bash ${ROS_DISTRO} | |
DOCKER_RUN_OPTS: -v /artifacts:/tmp/artifacts | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
ref: develop | |
- uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_REPO: ${{matrix.ROS_REPO}} | |
ROS_DISTRO: ${{matrix.ROS_DISTRO}} | |
- name: Upload Artifact | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: generic_artifacts_develop_${{matrix.ROS_REPO}}_${{matrix.ROS_DISTRO}} | |
path: /artifacts | |
retention-days: 5 |