Skip to content

Commit

Permalink
build: do not run tests when modifying the docs (#217)
Browse files Browse the repository at this point in the history
* build: do not run tests when modifying the docs

* build: path-ignore docs modification

* style: removing blank line
  • Loading branch information
deepcharles authored Oct 18, 2021
1 parent b205589 commit 111bfe7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/run-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
paths-ignore:
- '.pre-commit-config.yaml'
- 'docs/**'
- 'images/**'
- '**.md'
- 'mkdocs.yml'

jobs:
coverage:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths-ignore:
- '.pre-commit-config.yaml'
- 'docs/**'
- 'images/**'
- '**.md'
- 'mkdocs.yml'

jobs:
build:
Expand All @@ -34,4 +37,4 @@ jobs:
python -m pip install .[test]
- name: Test with pytest
run: |
python -m pytest --no-cov
python -m pytest --no-cov

0 comments on commit 111bfe7

Please # to comment.