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 22cfcf5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
ruby-version: "3.3"
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

run: curl "${K6_RELEASE_ARTIFACT_URL}" -L | tar xvz --strip-components 1
- name: Start Servers
working-directory: ./k6
run: |
Expand All @@ -44,11 +38,8 @@ jobs:
npx wait-on http://localhost:9291 --timeout 5s
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/setup-k6-action@v1
- uses: grafana/run-k6-action@v1
with:
path: |
./k6/integration-test.js

0 comments on commit 22cfcf5

Please sign in to comment.