Skip to content

Instantly share code, notes, and snippets.

@davidmukiibi
Created November 17, 2019 01:54
Show Gist options
  • Save davidmukiibi/ea277b0945ada3ba8d72da6da6e1bfaa to your computer and use it in GitHub Desktop.
Save davidmukiibi/ea277b0945ada3ba8d72da6da6e1bfaa to your computer and use it in GitHub Desktop.
default: &defaults
parallelism: 1
docker:
- image: loadimpact/k6:latest
k6_performance_tests: &k6_performance_tests
run:
name: Running Load Tests Using K6
command: |
k6 cloud tests/cloud-test.js
version: 2
jobs:
run_perfomance_tests:
<<: *defaults
steps:
- checkout
- *k6_performance_tests
workflows:
version: 2
test-workflow:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- develop
jobs:
- run_perfomance_tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment