Skip to content

ci: periodically run tests #55

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

Merged
merged 2 commits into from
Jan 8, 2025
Merged

ci: periodically run tests #55

merged 2 commits into from
Jan 8, 2025

Conversation

JaeAeich
Copy link
Collaborator

@JaeAeich JaeAeich commented Jan 8, 2025

Description

Comments

Summary by Sourcery

Schedule regular execution of test and vulnerability CI workflows to run every Monday at 12:00 PM UTC.

CI:

  • Add a scheduled cron job to run the test CI workflow every Monday at 12:00 PM UTC.
  • Add a scheduled cron job to run the vulnerability CI workflow every Monday at 12:00 PM UTC.

Copy link

sourcery-ai bot commented Jan 8, 2025

Reviewer's Guide by Sourcery

This pull request adds a cron schedule to the existing GitHub Actions workflows to ensure that tests and vulnerability checks are run automatically every Monday at 12:00 PM UTC. This change helps in maintaining regular checks on the codebase without manual intervention.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Added a schedule to run the test CI workflows regularly.
  • Added a cron schedule to the code_test.yaml workflow to run every Monday at 12:00 PM UTC.
  • Added a cron schedule to the vulnerability.yaml workflow to run every Monday at 12:00 PM UTC.
{{ cookiecutter.project_name_dashed }}/.github/workflows/code_test.yaml
{{ cookiecutter.project_name_dashed }}/.github/workflows/vulnerability.yaml

Assessment against linked issues

Issue Objective Addressed Explanation
#54 Add cron jobs to run tests regularly to catch deprecated features or potential issues in projects that are not frequently updated
#54 Ensure continuous integration (CI) runs periodically for proTES project to prevent unexpected test failures

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@JaeAeich JaeAeich changed the title ci: regularly run test CI ci: regularly run test Jan 8, 2025
@JaeAeich JaeAeich requested a review from uniqueg January 8, 2025 08:50
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @JaeAeich - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Please provide a brief description of the changes in the PR description template rather than leaving it mostly empty. While the change is straightforward, documenting it properly helps with future maintenance.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@uniqueg uniqueg changed the title ci: regularly run test ci: periodically run tests Jan 8, 2025
Copy link
Member

@uniqueg uniqueg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@JaeAeich JaeAeich merged commit ac2c048 into main Jan 8, 2025
@JaeAeich JaeAeich deleted the cron branch January 8, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

imp: cron job for test CI
2 participants