From d3eb3220c44d373f3113f132989901f535b3c4da Mon Sep 17 00:00:00 2001 From: Patrick Roncagliolo Date: Wed, 20 Dec 2023 21:29:02 +0100 Subject: [PATCH] Test compressed upload --- .github/workflows/iron.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/iron.yml b/.github/workflows/iron.yml index 23b4bcb..9fb7b2c 100644 --- a/.github/workflows/iron.yml +++ b/.github/workflows/iron.yml @@ -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