public release #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DGate Performance Test (short) | |
on: | |
push: | |
branches: [ "**" ] | |
jobs: | |
k6_load_test: | |
name: k6 Load Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- run: go mod download | |
- run: go run cmd/dgate-server/main.go & | |
- name: Wait for server to start | |
run: sleep 5 | |
- run: ./functional-tests/admin_tests/performance_test_prep.sh | |
- name: Run local k6 test | |
uses: grafana/[email protected] | |
with: | |
filename: performance-tests/perf-test.js | |