Skip to content

Commit

Permalink
Modified workflow jobs to run only when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
red-scorp committed Sep 14, 2023
1 parent 7e83dfd commit 53e6a5e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
# Name of the action
name: Cppcheck Check All Configuration

# Controls when the action will run. Triggers the workflow on each push request
on: push
# Controls when the action will run. Triggers the workflow on each push request to source directory
on:
push:
paths:
- '.github/workflows/**'
- 'ag-panel/**'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
# Name of the action
name: Test Build All Configuration

# Controls when the action will run. Triggers the workflow on each push request
on: push
# Controls when the action will run. Triggers the workflow on each push request to workflow and source directories
on:
push:
paths:
- '.github/workflows/**'
- 'ag-panel/**'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@
# Name of the action
name: Native Unit-Test Configuration

# Controls when the action will run. Triggers the workflow on each push request
on: push
# Controls when the action will run. Triggers the workflow on each push request to workflow, source and test directories
on:
push:
paths:
- '.github/workflows/**'
- 'ag-panel/**'
- 'test/**'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit 53e6a5e

Please sign in to comment.