Skip to content

Commit

Permalink
Test compressed upload
Browse files Browse the repository at this point in the history
  • Loading branch information
roncapat authored Dec 20, 2023
1 parent d570694 commit d3eb322
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/iron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,31 @@ jobs:
image: osrf/ros:iron-desktop-full-jammy

steps:
- name: Update
- name: Update Apt cache
run: apt update

- name: Install PIP
run: apt install -y python3-pip lcov
- name: Install packages from Apt
run: apt install -y python3-pip lcov bzip2

- name: Install colcon tools
- name: Install packages from PIP
run: python3 -m pip install colcon-lcov-result colcon-coveragepy-result

- name: Checkout
uses: actions/checkout@v2

- name: Run Tests
- name: Build & Test
uses: ros-tooling/action-ros-ci@0.3.5
with:
target-ros2-distro: iron
import-token: ${{ secrets.GITHUB_TOKEN }}
vcs-repo-file-url: "${{ github.workspace }}/iron.repos"

- name: Compress Logs
run: tar -jcvf log.tar.tbz2 ros_ws/log

- name: Upload Logs
uses: actions/upload-artifact@v1
with:
name: colcon-logs
path: ros_ws/log
if: always()
path: log.tar.tbz2
compression-level: 0

0 comments on commit d3eb322

Please sign in to comment.