From 34d34551618d74251e9a990eba2dea4782db22f7 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sat, 2 Dec 2023 18:03:40 +0100 Subject: [PATCH] update --- .github/workflows/rostest_to_release.yml | 24 ++++++++++++++++++- ...test_unstable.yml => rostest_unstable.yml} | 6 ++--- 2 files changed, 26 insertions(+), 4 deletions(-) rename .github/workflows/{test_unstable.yml => rostest_unstable.yml} (97%) diff --git a/.github/workflows/rostest_to_release.yml b/.github/workflows/rostest_to_release.yml index 39a8e072e6..bd448fe6c5 100644 --- a/.github/workflows/rostest_to_release.yml +++ b/.github/workflows/rostest_to_release.yml @@ -23,9 +23,31 @@ jobs: name: artifacts path: /tmp/artifacts/ - generate-jobs: + build-for-coverage: needs: init-artifacts runs-on: ubuntu-20.04 + steps: + - name: Load artifacts + uses: actions/download-artifact@v3 + with: + name: artifacts + path: /tmp/artifacts/ + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: 'recursive' + - id: test + run: | + .ci/build_for_testing.sh /tmp/artifacts unstable + - name: Save artifacts + uses: actions/upload-artifact@v3 + with: + name: artifacts + path: /tmp/artifacts/ + + generate-jobs: + needs: build-for-coverage + runs-on: ubuntu-20.04 outputs: packages: ${{ steps.generate.outputs.packages }} steps: diff --git a/.github/workflows/test_unstable.yml b/.github/workflows/rostest_unstable.yml similarity index 97% rename from .github/workflows/test_unstable.yml rename to .github/workflows/rostest_unstable.yml index 86ceada8d0..8aa5834934 100644 --- a/.github/workflows/test_unstable.yml +++ b/.github/workflows/rostest_unstable.yml @@ -1,4 +1,4 @@ -name: test_unstable +name: rostest_unstable on: @@ -19,7 +19,7 @@ jobs: name: artifacts path: /tmp/artifacts/ - build: + build-for-coverage: needs: init-artifacts runs-on: ubuntu-20.04 steps: @@ -42,7 +42,7 @@ jobs: path: /tmp/artifacts/ generate-jobs: - needs: build + needs: build-for-coverage runs-on: ubuntu-20.04 outputs: packages: ${{ steps.generate.outputs.packages }}