From a22448df9d4232172f88ac765a9dee756496d406 Mon Sep 17 00:00:00 2001 From: Naoto Ono Date: Sat, 22 Jun 2024 22:02:00 +0900 Subject: [PATCH] Integrate Launchable into mingw --- .github/workflows/mingw.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 769097068b..20a07ca240 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -107,6 +107,8 @@ jobs: srcdir: src builddir: build makeup: true + # Set fetch-depth: 10 so that Launchable can receive commits information. + fetch-depth: 10 - name: configure run: > @@ -120,6 +122,18 @@ jobs: - name: make install run: make DESTDIR=../install install-nodoc + - name: Set up Launchable + uses: ./.github/actions/launchable/setup + with: + os: windows-2022 + # If we support new test task, we need to change this test-opts. + test-opts: --retry --job-status=normal --show-skip --timeout-scale=1.5 + ${{ matrix.test-all-opts }} + launchable-token: ${{ secrets.LAUNCHABLE_TOKEN }} + builddir: build + srcdir: src + continue-on-error: true + - name: test timeout-minutes: 30 run: make test @@ -138,6 +152,7 @@ jobs: RUBY_TESTOPTS: >- --retry --job-status=normal --show-skip --timeout-scale=1.5 ${{ matrix.test-all-opts }} + ${{ env.TESTS }} BUNDLER_VERSION: if: ${{ matrix.test_task == 'check' || matrix.test_task == 'test-all' || StartsWith(matrix.test_task, 'test/') }}