Skip to content

Commit

Permalink
NUTCH-3084 Improve CI by filtering and separating plugin and core tes…
Browse files Browse the repository at this point in the history
…t executiion
  • Loading branch information
lewismc committed Oct 27, 2024
1 parent 2462174 commit 9287fd4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ jobs:
filters: |
core:
- 'src/java/**'
- 'src/test/**'
- 'src/testresources/**'
plugins:
- 'src/plugins/**'
- 'src/plugin/**'
# run only if 'core' files were changed
- name: core tests
- name: test core
if: steps.filter.outputs.core == 'true'
run: ant clean test-core -buildfile build.xml
# run only if 'plugins' files were changed
- name: plugins tests
- name: test plugins
if: steps.filter.outputs.plugins == 'true'
run: ant clean test-plugins -buildfile build.xml

0 comments on commit 9287fd4

Please sign in to comment.