Skip to content

Commit

Permalink
Fix CI pipeline (#159)
Browse files Browse the repository at this point in the history
* remove matrix

* fix braces

---------

Co-authored-by: Aron Svastits <svastits1@gmail.com>
  • Loading branch information
Svastits and Aron Svastits authored Apr 15, 2024
1 parent 868dd3b commit 0ed535e
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/industrial_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,13 @@ on:
jobs:
industrial_ci:
name: ROS-Industrial CI
strategy:
matrix:
env:
- ROS_REPO: ros
BUILDER: colcon
ANALYZER: sonarqube
TEST_COVERAGE: true
UPSTREAM_WORKSPACE: 'github:kroshu/kuka_robot_descriptions#master github:kroshu/kuka-external-control-sdk#master'
ROS_DISTRO: humble
env:
ROS_REPO: ros
BUILDER: colcon
ANALYZER: sonarqube
TEST_COVERAGE: true
UPSTREAM_WORKSPACE: 'github:kroshu/kuka_robot_descriptions#master github:kroshu/kuka-external-control-sdk#master'
ROS_DISTRO: humble
CCACHE_DIR: /github/home/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
EVENT_NAME: ${{ github.event_name }}
BRANCH: ${{ github.event.ref }}
Expand All @@ -50,7 +47,7 @@ jobs:
steps:
- name: Reset ANALYZER for scheduled and push runs
run: |
if [[ "${{ github.event_name }}" == "schedule" ]] || [[ "${{ github.event_name }}" == "push" ]]; then
if [[ "${{ github.event_name }}" == "schedule" ]] || { [[ "${{ github.event_name }}" == "push" ]] && [[ "${{ github.ref }}" != "refs/heads/master" ]]; }; then
echo "ANALYZER=" >> $GITHUB_ENV
fi
- uses: actions/checkout@v2
Expand All @@ -64,4 +61,3 @@ jobs:

# Run industrial_ci
- uses: 'kroshu/industrial_ci@master'
env: ${{ matrix.env }}

0 comments on commit 0ed535e

Please sign in to comment.