-
Notifications
You must be signed in to change notification settings - Fork 232
Add scheduled stress test workflow #762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,63 @@ | ||||||||
| name: stress | ||||||||
| on: | ||||||||
| schedule: | ||||||||
| - cron: "* * * * *" | ||||||||
| workflow_dispatch: | ||||||||
| inputs: | ||||||||
| repeat_count: | ||||||||
| description: "Number of times to repeat each test" | ||||||||
| required: false | ||||||||
| default: "100" | ||||||||
| parallel_workers: | ||||||||
| description: "Number of parallel workers (-n auto or specific number)" | ||||||||
| required: false | ||||||||
| default: "auto" | ||||||||
|
|
||||||||
| jobs: | ||||||||
| stress-test: | ||||||||
| name: ${{ matrix.project }} stress test (python-${{ matrix.python-version }}, nats-server-${{ matrix.nats-server-version }}, ${{ matrix.os }}) | ||||||||
| runs-on: ${{ matrix.os }} | ||||||||
|
||||||||
| runs-on: ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cron schedule
"* * * * *"will run every minute, which is likely not intended for a stress test workflow. This could lead to excessive resource usage and GitHub Actions quota consumption. Consider using a more reasonable schedule, such as:"0 0 * * *"(midnight UTC)"0 0 * * 0"(Sunday midnight UTC)