Skip to content

Commit

Permalink
k6 latests
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidycodes committed Oct 17, 2024
1 parent 6afc41b commit e986dd1
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
bundler-cache: true

- name: Install k6
working-directory: ./k6
env:
K6_RELEASE_ARTIFACT_URL: https://github.com/grafana/k6/releases/download/v0.37.0/k6-v0.37.0-linux-amd64.tar.gz
uses: grafana/setup-k6-action@v1

run: curl "${K6_RELEASE_ARTIFACT_URL}" -L | tar xvz --strip-components 1
- name: Start Servers
Expand All @@ -45,10 +43,7 @@ jobs:
npx wait-on http://localhost:8888 --timeout 5s
- name: Run Integration Test
working-directory: ./k6
run: |
./k6 \
-e GITHUB_PR=${{ github.event.number }} \
-e GITHUB_SHA=${{ github.sha }} \
-e GITHUB_TOKEN=${{secrets.GH_PA_TOKEN}} \
run integration-test.js
uses: grafana/run-k6-action@v1
with:
path: |
./k6/integration-test.js

0 comments on commit e986dd1

Please sign in to comment.