Skip to content

Update github/codeql-action action to v3.28.0 (#314) #820

Update github/codeql-action action to v3.28.0 (#314)

Update github/codeql-action action to v3.28.0 (#314) #820

Workflow file for this run

name: e2e testing
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
e2e-test:
name: Run scenarigo and k6 test
runs-on: ubuntu-latest
steps:
- name: set up go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ">=1.17"
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run scenario test
run: |
go install github.com/zoncoen/scenarigo/cmd/scenarigo@v0.14.2
./e2e/scenario_setup.sh
curl http://localhost:8081/shells/smart.festo.com%2Fdemo%2Faas%2F1%2F1%2F454576463545648365874
docker compose -f e2e/docker-compose.yaml logs
scenarigo run -c e2e/scenario/scenariogo.yaml
- name: Install k6
run: |
curl https://github.com/grafana/k6/releases/download/v0.45.1/k6-v0.45.1-linux-amd64.tar.gz -L | tar xvz --strip-components 1
- name: Run load test
run: |
mkdir -p output
./k6 run e2e/k6-load/local_test.js
- name: Archive load test results
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: load-test-report
path: output/*