[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code. Currently, our CIs do almost nothing about the documents.
This commit is contained in:
parent
32ee6f80ee
commit
5bf0060e0a
@ -11,6 +11,7 @@ clone_depth: 10
|
|||||||
platform:
|
platform:
|
||||||
- x64
|
- x64
|
||||||
skip_commits:
|
skip_commits:
|
||||||
|
message: /^\[DOC\]/
|
||||||
files:
|
files:
|
||||||
- doc/*
|
- doc/*
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
1
.github/workflows/baseruby.yml
vendored
1
.github/workflows/baseruby.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
baseruby:
|
baseruby:
|
||||||
name: BASERUBY
|
name: BASERUBY
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
ruby:
|
ruby:
|
||||||
|
1
.github/workflows/check_dependencies.yml
vendored
1
.github/workflows/check_dependencies.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
|||||||
os: [ubuntu-20.04]
|
os: [ubuntu-20.04]
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
|
|
||||||
# CodeQL runs on ubuntu-latest and windows-latest
|
# CodeQL runs on ubuntu-latest and windows-latest
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
enable_install_doc: no
|
enable_install_doc: no
|
||||||
|
1
.github/workflows/compilers.yml
vendored
1
.github/workflows/compilers.yml
vendored
@ -188,6 +188,7 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-14' }}
|
image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-14' }}
|
||||||
options: --user root
|
options: --user root
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
steps:
|
steps:
|
||||||
- run: id
|
- run: id
|
||||||
working-directory:
|
working-directory:
|
||||||
|
1
.github/workflows/mingw.yml
vendored
1
.github/workflows/mingw.yml
vendored
@ -42,6 +42,7 @@ jobs:
|
|||||||
base_ruby: head
|
base_ruby: head
|
||||||
test_task: [ "check" ] # to make job names consistent
|
test_task: [ "check" ] # to make job names consistent
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
steps:
|
steps:
|
||||||
- run: mkdir build
|
- run: mkdir build
|
||||||
working-directory:
|
working-directory:
|
||||||
|
1
.github/workflows/mjit.yml
vendored
1
.github/workflows/mjit.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
jit_opts: [ "--mjit", "--mjit-wait" ]
|
jit_opts: [ "--mjit", "--mjit-wait" ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
env:
|
env:
|
||||||
TESTOPTS: '-q --tty=no'
|
TESTOPTS: '-q --tty=no'
|
||||||
RUN_OPTS: '--disable-gems ${{ matrix.jit_opts }} --mjit-debug=-ggdb3'
|
RUN_OPTS: '--disable-gems ${{ matrix.jit_opts }} --mjit-debug=-ggdb3'
|
||||||
|
1
.github/workflows/spec_guards.yml
vendored
1
.github/workflows/spec_guards.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
rubyspec:
|
rubyspec:
|
||||||
name: Rubyspec
|
name: Rubyspec
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# Specs from ruby/spec should still run on all supported Ruby versions.
|
# Specs from ruby/spec should still run on all supported Ruby versions.
|
||||||
|
1
.github/workflows/ubuntu.yml
vendored
1
.github/workflows/ubuntu.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
|||||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
RUBY_DEBUG: ci
|
RUBY_DEBUG: ci
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
steps:
|
steps:
|
||||||
- run: mkdir build
|
- run: mkdir build
|
||||||
working-directory:
|
working-directory:
|
||||||
|
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
|||||||
# vcvars: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
|
# vcvars: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"'
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
name: VisualStudio ${{ matrix.vs }}
|
name: VisualStudio ${{ matrix.vs }}
|
||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
|
1
.github/workflows/yjit-ubuntu.yml
vendored
1
.github/workflows/yjit-ubuntu.yml
vendored
@ -43,6 +43,7 @@ jobs:
|
|||||||
RUN_OPTS: ${{ matrix.yjit_opts }}
|
RUN_OPTS: ${{ matrix.yjit_opts }}
|
||||||
RUBY_DEBUG: ci
|
RUBY_DEBUG: ci
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
steps:
|
steps:
|
||||||
- run: mkdir build
|
- run: mkdir build
|
||||||
working-directory:
|
working-directory:
|
||||||
|
1
.github/workflows/yjit_asm_tests.yml
vendored
1
.github/workflows/yjit_asm_tests.yml
vendored
@ -19,6 +19,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -13,6 +13,8 @@ language: c
|
|||||||
|
|
||||||
os: linux
|
os: linux
|
||||||
|
|
||||||
|
if: commit_message !~ /^\[DOC\]/
|
||||||
|
|
||||||
dist: focal
|
dist: focal
|
||||||
|
|
||||||
git:
|
git:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user