From 9287fd45185498bac1c622b145daef841e15e906 Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Sat, 26 Oct 2024 17:30:05 -0700 Subject: [PATCH] NUTCH-3084 Improve CI by filtering and separating plugin and core test executiion --- .github/workflows/master-build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master-build.yml b/.github/workflows/master-build.yml index a785146ca..ccee0b6a9 100644 --- a/.github/workflows/master-build.yml +++ b/.github/workflows/master-build.yml @@ -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