Skip to content

Commit

Permalink
ci: disabling tests when files touched are only documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetit committed Dec 12, 2021
1 parent 6a7350f commit 2b0742d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ name: build_and_test
on:
push:
branches: [ main, dev ]
paths-ignore:
- 'docs_src/**'
- 'README.md'
- 'CHANGELOG.md'
- 'CITATION'
- 'book.toml'
- 'CONTRIBUTING.md'
pull_request:
branches: [ main, dev ]

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ name: Rust
on:
push:
branches: [ main, dev ]
paths-ignore:
- 'docs_src/**'
- 'README.md'
- 'CHANGELOG.md'
- 'CITATION'
- 'book.toml'
- 'CONTRIBUTING.md'

pull_request:
branches: [ main, dev ]

Expand Down

0 comments on commit 2b0742d

Please sign in to comment.