We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de8486 commit 6b389c2Copy full SHA for 6b389c2
.github/workflows/check.yml
@@ -1,4 +1,4 @@
1
-name: Deploy
+name: Check
2
3
on:
4
workflow_call:
@@ -18,9 +18,9 @@ jobs:
18
-
19
name: Checkout
20
uses: actions/checkout@v4
21
22
- - name: Run local k6 test
23
- uses: grafana/k6-action@v0.2.0
+ -
+ name: Run local k6 test
+ uses: grafana/k6-action@v0.3.1
24
with:
25
filename: k6/script.js
26
flags: --out json=results.json
k6/test.sh
@@ -1,9 +1,12 @@
#!/bin/bash
+
cd $(dirname $0)
5
if [ -z "$TARGET" ]; then
- echo "Missing TARGET=pr-xxx-demo.api-platform.com" 1>&2
6
+ echo "Missing TARGET argument (e.g.: pr-123-demo.api-platform.com)" 1>&2
7
exit 1
8
fi
9
10
docker run \
11
--name k6 \
12
--rm -i \
0 commit comments