Skip to content

Commit

Permalink
Incorporate feedback
Browse files Browse the repository at this point in the history
- Build docu only on main and when the deploy action changes
- Include pfdl scheduler code for coverage
- Trigger linting and tests when there are changes in the testing folder
- Trigger linting and code coverage only on PRs and pushes to main
  • Loading branch information
maxhoerstr committed Feb 19, 2024
1 parent 71d9b7c commit 58bab88
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy_docu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'main'
paths:
- 'docs/**'
- '.github/workflows/**'
- '.github/workflows/build_and_deploy_docu.yml'


permissions:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ name: Measure code coverage

on:
push:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'
pull_request:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: Lint

on:
push:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'
pull_request:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'

permissions:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
push:
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'
pull_request:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'

permissions:
Expand Down

0 comments on commit 58bab88

Please sign in to comment.