mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip tests on pull requests labeled as Documentation
This commit is contained in:
parent
629c8f12ae
commit
922a81a994
Notes:
git
2021-12-18 13:08:45 +09:00
11 changed files with 11 additions and 11 deletions
2
.github/workflows/baseruby.yml
vendored
2
.github/workflows/baseruby.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
baseruby:
|
||||
name: BASERUBY
|
||||
runs-on: ubuntu-20.04
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
strategy:
|
||||
matrix:
|
||||
ruby:
|
||||
|
|
2
.github/workflows/check_dependencies.yml
vendored
2
.github/workflows/check_dependencies.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
os: [ubuntu-20.04]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
steps:
|
||||
- name: Install libraries
|
||||
run: |
|
||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
|
||||
# CodeQL runs on ubuntu-latest and windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
|
||||
env:
|
||||
enable_install_doc: no
|
||||
|
|
2
.github/workflows/compilers.yml
vendored
2
.github/workflows/compilers.yml
vendored
|
@ -188,7 +188,7 @@ jobs:
|
|||
container:
|
||||
image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-14' }}
|
||||
options: --user root
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
steps:
|
||||
- run: id
|
||||
working-directory:
|
||||
|
|
2
.github/workflows/mingw.yml
vendored
2
.github/workflows/mingw.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
base_ruby: head
|
||||
test_task: [ "check" ] # to make job names consistent
|
||||
fail-fast: false
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
steps:
|
||||
- run: mkdir build
|
||||
working-directory:
|
||||
|
|
2
.github/workflows/mjit.yml
vendored
2
.github/workflows/mjit.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
jit_opts: [ "--mjit", "--mjit-wait" ]
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
env:
|
||||
TESTOPTS: '-q --tty=no'
|
||||
RUN_OPTS: '--disable-gems ${{ matrix.jit_opts }} --mjit-debug=-ggdb3'
|
||||
|
|
2
.github/workflows/spec_guards.yml
vendored
2
.github/workflows/spec_guards.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
rubyspec:
|
||||
name: Rubyspec
|
||||
runs-on: ubuntu-20.04
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
strategy:
|
||||
matrix:
|
||||
# Specs from ruby/spec should still run on all supported Ruby versions.
|
||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||
RUBY_DEBUG: ci
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
steps:
|
||||
- run: mkdir build
|
||||
working-directory:
|
||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
# vcvars: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
name: VisualStudio ${{ matrix.vs }}
|
||||
env:
|
||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||
|
|
2
.github/workflows/yjit-ubuntu.yml
vendored
2
.github/workflows/yjit-ubuntu.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
RUN_OPTS: ${{ matrix.yjit_opts }}
|
||||
RUBY_DEBUG: ci
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
steps:
|
||||
- run: mkdir build
|
||||
working-directory:
|
||||
|
|
2
.github/workflows/yjit_asm_tests.yml
vendored
2
.github/workflows/yjit_asm_tests.yml
vendored
|
@ -19,7 +19,7 @@ concurrency:
|
|||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue