Skip to content

Commit

Permalink
fix(CI): added conditional activation of workflows
Browse files Browse the repository at this point in the history
fixes #6
  • Loading branch information
f-aguzzi committed May 9, 2024
1 parent ec3582c commit aa4e916
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
paths:
- 'docs/'

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
on: [push]
on:
push:
paths:
- 'src'

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on: [push]
on:
push:
paths:
- 'src'
- 'src/tests'

jobs:
build:
Expand Down

0 comments on commit aa4e916

Please sign in to comment.