Skip to content

Commit bf89512

Browse files
committed
Updating load testing
1 parent f5ec92b commit bf89512

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/load-testing.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
run: |
4848
npm install
4949
50-
- name: Start Server and Run Tests
50+
- name: Start Server
5151
run: |
52-
npm start && ./k6 run tests/k6/loadTest.js
52+
npm start && npx wait-on http://127.0.0.1:3000
53+
54+
- name: Run k6 Tests
55+
uses: k6io/[email protected]
56+
with:
57+
filename: tests/k6/loadTest.js

0 commit comments

Comments
 (0)