-
-
Notifications
You must be signed in to change notification settings - Fork 157
39 lines (36 loc) · 1.09 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: ROS2 tests
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
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
- 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@v4
with:
name: generic_artifacts_${{matrix.ROS_REPO}}_${{matrix.ROS_DISTRO}}
path: /artifacts
retention-days: 5