Skip to content

Commit

Permalink
update workflow: get list of modified tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdepassio committed Oct 3, 2024
1 parent 9608d4c commit 4342b4d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- '.github/packaging/centreon-plugin.yaml.template'
- 'src/**'
- 'packaging/**'
- 'tests/**'
push:
branches:
- develop
Expand All @@ -32,6 +33,8 @@ jobs:
runs-on: ubuntu-22.04
outputs:
plugins: ${{ steps.get_plugins.outputs.plugins }}
unit_tests: ${{ steps.filter.outputs.unit_tests }}
robot_tests: ${{ steps.filter.outputs.robot_tests }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
Expand All @@ -54,6 +57,12 @@ jobs:
- added|modified: packaging/**
plugins:
- added|modified: src/**
robot_tests:
- added|modified: tests/**/*.robot
- added|modified: tests/**/*.json
- added|modified: tests/**/*.snmpwalk
unit_tests:
- added|modified: tests/**/*.t
- name: transform to directories
run: |
Expand Down

0 comments on commit 4342b4d

Please sign in to comment.