-
Notifications
You must be signed in to change notification settings - Fork 14
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
Separate test:security task out from test:static #558
Conversation
schedule: | ||
- cron: '0 0 * * *' |
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.
Is there an option for "random 24 hour period"? Or does github already load balance these things?
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.
I believe that GitHub already does their own load balancing on schedules, you'll often see them occur at off-minutes around the requested schedule.
.github/workflows/TestStatic.yml
Outdated
- name: Run Security Tests | ||
if: ${{ github.event_name == 'schedule' }} | ||
run: ddev task test:security |
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.
I wonder if we should update the name. Otherwise, reviewers will see "Run security tests" in regular PRs, and wonder why they're skipped?
Thanks @davereid ! We discussed this today and decided to go with #112 (comment) Give me a shout if you think that's not the direction we should go in and we can re-open this 👍 |
Fixes #112
How this affects consumers:
task test:static
will no longer run thetest:security
task by default.How this affects Drainpipe
task test:security
command as a best example.