diff --git a/.github/workflows/run-jmeter-test.yml b/.github/workflows/run-jmeter-test.yml index 67b45699d..bd1b302b1 100644 --- a/.github/workflows/run-jmeter-test.yml +++ b/.github/workflows/run-jmeter-test.yml @@ -3,8 +3,14 @@ name: Test JMeter Action on: push: branches: [ main ] + paths: + - 'test/**' + - 'src/test/**' pull_request: branches: [ main ] + paths: + - 'test/**' + - 'src/test/**' jobs: action_build: @@ -15,7 +21,7 @@ jobs: - name: Run JMeter Action on a test uses: rbhadti94/apache-jmeter-action@v0.7.0 with: - testFilePath: test/petclinic_test_plan.jmx + testFilePath: src/test/jmeter/petclinic_test_plan.jmx outputReportsFolder: reports/ args: "--loglevel INFO"