add rematif path

This commit is contained in:
Rodolphe Fontaine 2024-10-15 11:33:10 +02:00
parent 09ba7e829d
commit edb1d9409b
2 changed files with 33 additions and 7 deletions

29
.github/workflows/maven-test.yml vendored Normal file
View file

@ -0,0 +1,29 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v4
with:
java-version: ${{matrix.java}}
distribution: 'adopt'
cache: maven
- name: TEST with Maven Wrapper
run: ./mvnw -B test

View file

@ -3,14 +3,11 @@ name: Test JMeter Action
on:
push:
branches: [ main ]
paths:
- 'test/**'
- 'src/test/**'
pull_request:
branches: [ main ]
paths:
- 'test/**'
- 'src/test/**'
jobs:
@ -22,7 +19,7 @@ jobs:
- name: Run JMeter Action on a test
uses: rbhadti94/apache-jmeter-action@v0.7.0
with:
testFilePath: src/test/jmeter/petclinic_test_plan.jmx
testFilePath: ../../src/test/jmeter/petclinic_test_plan.jmx
outputReportsFolder: reports/
args: "--loglevel INFO"