From 2aa09d7c1a478b3ec6772ad8823d5d24dbedfeaf Mon Sep 17 00:00:00 2001 From: Rodolphe Fontaine <30529563+Rodi26@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:05:22 +0200 Subject: [PATCH] add full path to jmx files --- .github/workflows/run-jmeter-test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"