Skip to content

Commit

Permalink
Add pre-release test to CI [master]
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjw committed Apr 30, 2021
1 parent f6a7d16 commit 3418d63
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 29 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)

name: CI

on:
workflow_dispatch:
pull_request:
push:
branches:
- master

jobs:
default:
strategy:
matrix:
env:
- ROS_DISTRO: melodic
ROS_REPO: main
- ROS_DISTRO: noetic
ROS_REPO: main
- ROS_DISTRO: noetic
ROS_REPO: testing
env:
BASEDIR: ${{ github.workspace }}/.work
CCACHE_DIR: ${{ github.workspace }}/.ccache
CACHE_PREFIX: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}

name: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: cache ccache
uses: pat-s/[email protected]
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
restore-keys: |
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
ccache-${{ env.CACHE_PREFIX }}
- uses: ros-industrial/industrial_ci@master
env: ${{ matrix.env }}
File renamed without changes.
28 changes: 0 additions & 28 deletions .github/workflows/industrial_ci_action.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)

name: pre-release

on:
workflow_dispatch:
push:
branches:
- master

jobs:
default:
strategy:
matrix:
distro: [noetic]

env:
ROS_DISTRO: ${{ matrix.distro }}
PRERELEASE: true
DOWNSTREAM_WORKSPACE: github:ros-planning/moveit#master

name: "${{ matrix.distro }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ros-industrial/industrial_ci@master
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: '**/test_results/**/*.xml'
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ MoveIt Resources

This repository includes various resources (URDFs, meshes, moveit_config packages) needed for MoveIt! testing.

GitHub Actions: [![Format](https://github.com/ros-planning/moveit_resources/actions/workflows/format.yml/badge.svg?branch=master)](https://github.com/ros-planning/moveit_resources/actions/workflows/format.yml?branch=master) [![BuildAndTest](https://github.com/ros-planning/moveit_resources/actions/workflows/industrial_ci_action.yml/badge.svg?branch=master)](https://github.com/ros-planning/moveit_resources/actions/workflows/industrial_ci_action.yml?branch=master)
GitHub Actions:
[![Format](https://github.com/ros-planning/moveit_resources/actions/workflows/format.yaml/badge.svg?branch=master)](https://github.https://github.com/ros-planning/moveit_resources/actions/workflows/format.yaml?query=branch%3Amaster)
[![BuildAndTest](https://github.com/ros-planning/moveit_resources/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.https://github.com/ros-planning/moveit_resources/actions/workflows/ci.yaml?query=branch%3Amaster)
[![pre-release](https://github.com/ros-planning/moveit_resources/actions/workflows/prerelease.yaml/badge.svg?branch=master)](https://github.https://github.com/ros-planning/moveit_resources/actions/workflows/prerelease.yaml?query=branch%3Amaster)

## Included Robots

Expand Down

0 comments on commit 3418d63

Please sign in to comment.