summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
authorNaoto Ono <onoto1998@gmail.com>2024-02-24 10:09:06 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-02-26 13:20:29 +0900
commit459198999e57652e32817b566ad47443f4bbcedc (patch)
tree33226bbb7b97ea5d326bc82b22b3245f393ecf1d /.github/workflows/ubuntu.yml
parentd4e24021d39e1f80f0055b55d91f8d5f22e15084 (diff)
Expand Launchable into ubuntu workflow
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 316cd3786d..80af27bc1a 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -95,6 +95,12 @@ jobs:
echo "TESTS=${TESTS}" >> $GITHUB_ENV
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests }}
+ - name: Set up Launchable
+ id: enable-launchable
+ uses: ./.github/actions/launchable/setup
+ with:
+ launchable-token: ${{ secrets.LAUNCHABLE_TOKEN }}
+
- name: make ${{ matrix.test_task }}
run: >-
$SETARCH make -s ${{ matrix.test_task }}
@@ -115,6 +121,16 @@ jobs:
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests }}
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
+ - name: Record test results in Launchable
+ uses: ./.github/actions/launchable/record-test
+ with:
+ # We need to configure the `build` directory because
+ # this composite action is executed in the default working directory.
+ report-path: build/launchable_reports.json
+ os: ubuntu-20.04
+ test-opts: ${{ matrix.configure }}
+ if: ${{ always() && steps.enable-launchable.outputs.enable-launchable }}
+
- uses: ./.github/actions/slack
with:
label: ${{ matrix.test_task }} ${{ matrix.configure }}${{ matrix.arch }}