mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
add rematif path
This commit is contained in:
parent
09ba7e829d
commit
edb1d9409b
2 changed files with 33 additions and 7 deletions
29
.github/workflows/maven-test.yml
vendored
Normal file
29
.github/workflows/maven-test.yml
vendored
Normal 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
|
11
.github/workflows/run-jmeter-test.yml
vendored
11
.github/workflows/run-jmeter-test.yml
vendored
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue