Skip to content

Commit 9118451

Browse files
committed
latest changes
1 parent 6c1a949 commit 9118451

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

.github/workflows/industrial_ci_action.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,48 +11,51 @@ jobs:
1111
matrix:
1212
env:
1313
- {
14-
CACHE_PREFIX: 'foxy-main-debug-ccov',
15-
ROS_DISTRO: foxy, ROS_REPO: main, CCOV_UPLOAD: true,
14+
ROS_DISTRO: foxy,
15+
ROS_REPO: main,
16+
CCOV_UPLOAD: true,
1617
CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='--coverage' -DCMAKE_CXX_FLAGS='--coverage'",
1718
AFTER_RUN_TARGET_TEST: './.ci.prepare_codecov',
1819
ADDITIONAL_DEBS: 'lcov'
1920
}
2021
- {
21-
CACHE_PREFIX: 'foxy-testing', ROS_DISTRO: foxy, ROS_REPO: testing,
22+
ROS_DISTRO: foxy,
23+
ROS_REPO: testing,
2224
CCOV_UPLOAD: false
2325
}
2426
env:
25-
UPSTREAM_WORKSPACE: warehouse_ros_mongo.repos
27+
UPSTREAM_WORKSPACE: upstream.repos
2628
AFTER_SETUP_UPSTREAM_WORKSPACE: 'vcs pull $BASEDIR/upstream_ws/src'
2729
CCACHE_DIR: "${{ github.workspace }}/.ccache"
2830
BASEDIR: ${{ github.workspace }}/.work
31+
CACHE_PREFIX: "${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}${{ matrix.CCOV_UPLOAD && '-ccov' || '' }}"
2932
runs-on: ubuntu-latest
3033
steps:
3134
- uses: actions/checkout@v2
3235
- name: cache upstream_ws
3336
uses: pat-s/always-upload-cache@v2.1.3
3437
with:
3538
path: ${{ env.BASEDIR }}/upstream_ws
36-
key: upstream_ws-${{ matrix.env.CACHE_PREFIX }}-${{ hashFiles('warehouse_ros_mongo.repos') }}-${{ github.run_id }}
39+
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.repos') }}-${{ github.run_id }}
3740
restore-keys: |
38-
upstream_ws-${{ matrix.env.CACHE_PREFIX }}-${{ hashFiles('warehouse_ros_mongo.repos') }}
41+
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('upstream.repos') }}
3942
- name: cache ccache
4043
uses: pat-s/always-upload-cache@v2.1.3
4144
with:
4245
path: ${{ env.CCACHE_DIR }}
43-
key: ccache-${{ matrix.env.CACHE_PREFIX }}-${{ github.sha }}
46+
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
4447
restore-keys: |
45-
ccache-${{ matrix.env.CACHE_PREFIX }}
48+
ccache-${{ env.CACHE_PREFIX }}
4649
- name: industrial_ci
4750
uses: 'ros-industrial/industrial_ci@master'
4851
env: ${{ matrix.env }}
49-
- name: upaload test artifacts (on failure)
52+
- name: upload test artifacts (on failure)
5053
uses: actions/upload-artifact@v2
5154
if: failure()
5255
with:
5356
name: test-results
5457
path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml
55-
- name: upaload codecov report
58+
- name: upload codecov report
5659
uses: codecov/codecov-action@v1
5760
if: ${{ matrix.env.CCOV_UPLOAD }}
5861
with:

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Code for persisting ROS message data using MongoDB. Contains C++ and Python lib
66

77
[![Format](https://github.com/ros-planning/warehouse_ros_mongo/actions/workflows/format.yml/badge.svg?branch=ros2)](https://github.com/ros-planning/warehouse_ros_mongo/actions/workflows/format.yml?branch=ros2) [![BuildAndTest](https://github.com/ros-planning/warehouse_ros_mongo/actions/workflows/industrial_ci_action.yml/badge.svg?branch=ros2)](https://github.com/ros-planning/warehouse_ros_mongo/actions/workflows/industrial_ci_action.yml?branch=ros2) [![codecov](https://codecov.io/gh/ros-planning/warehouse_ros_mongo/branch/ros2/graph/badge.svg?token=W7uHKcY0ly)](https://codecov.io/gh/ros-planning/warehouse_ros_mongo)
88

9-
[![Code Coverage Grid](https://codecov.io/gh/ros-planning/warehouse_ros_mongo/branch/ros2/graphs/tree.svg)](https://codecov.io/gh/ros-planning/warehouse_ros_mongo/branch/ros2/graphs/tree.svg)
10-
119
## Building from source
1210

1311
### ROS Jade / Kinetic
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ repositories:
33
type: git
44
url: https://github.com/RoboticsYY/warehouse_ros
55
version: pr-ros2
6-
7-
# this is a test, changing the hash of this file

0 commit comments

Comments
 (0)