Skip to content

Commit

Permalink
ci: split running tests with docs (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jun 29, 2023
1 parent e0acfd8 commit 6cfa317
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
default: './docs'
required: false
type: string
doctest:
description: 'test examples inside docs'
default: true
required: false
type: boolean
timeout-minutes:
description: 'timeout-minutes for each job'
default: 15
Expand Down Expand Up @@ -44,6 +49,7 @@ jobs:
docs-test:
runs-on: ubuntu-20.04
env: ${{ fromJSON(inputs.env-vars) }}
if: inputs.doctests != 'false'
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
Expand Down

0 comments on commit 6cfa317

Please sign in to comment.