Skip CI tests for docs PRs (#2435)

* Skip CI tests for docs PRs

* Fix docs
This commit is contained in:
benthecarman 2020-12-29 08:07:15 -06:00 committed by GitHub
parent 19c68b77b9
commit f7c6fc141d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 13 additions and 1 deletions

View file

@ -8,6 +8,7 @@ on:
jobs:
compile:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: macos-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: macos-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
env:
PG_ENABLED: "1"
steps:

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
env:
DISABLE_SECP256K1: "true"
steps:

View file

@ -8,6 +8,7 @@ on:
jobs:
test:
runs-on: windows-latest
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Configure git
run: "git config --global core.autocrlf false"

View file

@ -253,4 +253,4 @@ of all files in `core` project.
Bitcoin-S uses Github Actions to run tests and deploy library and website builds. Generally
speaking CI has to pass for a PR to get merged. If you make documentation/website only
changes, you can start your PR title with `Docs:`. This skips running tests on CI.
changes, you can add the `documentation` label to your PR. This skips running tests on CI.