Skip to content

Commit 0ea7742

Browse files
committed
structure
1 parent c6798ce commit 0ea7742

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ jobs:
5252
run: docker compose --file spring-boot-example/docker-compose.yml up -d
5353

5454
- name: Run Gatling performance tests
55+
working-directory: spring-boot-example
5556
run: |
56-
mvn --file spring-boot-example/pom.xml -B spring-boot:run &
57-
mvn --file spring-boot-example/pom.xml -B gatling:test
57+
./mvnw -B spring-boot:run &
58+
./mvnw -B gatling:test
5859
5960
- name: Run ApacheBench performance tests
61+
working-directory: spring-boot-example
6062
run: |
61-
mvn --file spring-boot-example/pom.xml -B spring-boot:run &
62-
ab -p spring-boot-example/src/test/resources/apachebench/create-customer-request.json -T application/json -c 10 -n 1000 http://localhost:8080/api/customers
63+
./mvnw -B spring-boot:run &
64+
ab -p src/test/resources/apachebench/create-customer-request.json -T application/json -c 10 -n 1000 http://localhost:8080/api/customers

0 commit comments

Comments
 (0)