Skip to content

Commit

Permalink
Adjust paths to execute workflows for (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverStolzBO authored Feb 26, 2024
1 parent 30572a2 commit e3eb54b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- 'requirements.txt'
- '.github/workflows/**'
pull_request:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- 'requirements.txt'
- '.github/workflows/**'

permissions:
Expand Down Expand Up @@ -42,4 +44,4 @@ jobs:
coverage run --omit=tests/*,pfdl_scheduler/parser/PFDL* -m unittest discover -s tests/unit_test
coverage report
coverage json
coverage html
coverage html
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- 'ci_lint_runner.py'
- '.github/workflows/**'
pull_request:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- 'ci_lint_runner.py'
- '.github/workflows/**'

permissions:
Expand All @@ -37,4 +39,4 @@ jobs:
- name: Run Lint check
run: |
python3 ci_lint_runner.py pfdl_scheduler 8
python3 ci_lint_runner.py tests 8
python3 ci_lint_runner.py tests 8
8 changes: 0 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,9 @@ on:
push:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'
pull_request:
branches:
- 'main'
paths:
- 'pfdl_scheduler/**'
- 'tests/**'
- '.github/workflows/**'

permissions:
contents: read
Expand Down

0 comments on commit e3eb54b

Please sign in to comment.