diff options
Diffstat (limited to '.github/workflows/rjit.yml')
-rw-r--r-- | .github/workflows/rjit.yml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/.github/workflows/rjit.yml b/.github/workflows/rjit.yml index b393074919..2d5a3a7582 100644 --- a/.github/workflows/rjit.yml +++ b/.github/workflows/rjit.yml @@ -51,11 +51,11 @@ jobs: || contains(github.event.pull_request.title, '[DOC]') || contains(github.event.pull_request.title, 'Document') || contains(github.event.pull_request.labels.*.name, 'Document') - || (github.event_name == 'push' && github.actor == 'dependabot[bot]') + || (github.event_name == 'push' && github.event.pull_request.user.login == 'dependabot[bot]') )}} steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: sparse-checkout-cone-mode: false sparse-checkout: /.github @@ -67,6 +67,8 @@ jobs: srcdir: src builddir: build makeup: true + # Set fetch-depth: 10 so that Launchable can receive commits information. + fetch-depth: 10 - name: Run configure env: @@ -77,19 +79,33 @@ jobs: - run: $SETARCH make + - name: Set up Launchable + uses: ./.github/actions/launchable/setup + with: + os: ubuntu-22.04 + test-task: test + launchable-token: ${{ secrets.LAUNCHABLE_TOKEN }} + builddir: build + srcdir: src + launchable-workspace: ruby-make-btest + test-opts: ${{ matrix.run_opts }} + continue-on-error: true + - name: make test run: | $SETARCH make -s test RUN_OPTS="$RUN_OPTS" timeout-minutes: 30 env: GNUMAKEFLAGS: '' - RUBY_TESTOPTS: '-v --tty=no' + RUBY_TESTOPTS: >- + ${{ env.TESTS }} + --tty=no RUN_OPTS: ${{ matrix.run_opts }} - name: make test-all run: | $SETARCH make -s test-all RUN_OPTS="$RUN_OPTS" - timeout-minutes: 40 + timeout-minutes: 60 env: GNUMAKEFLAGS: '' RUBY_TESTOPTS: '-q --tty=no' |