Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Prevents Scheduled Workflow From Being Deactivated & [IBCDPE-898] Fix Python Versioning Issue for CI #3

Merged
merged 7 commits into from
Apr 1, 2024

Conversation

BWMac
Copy link
Contributor

@BWMac BWMac commented Mar 27, 2024

Problem:

Github by default will disable scheduled Actions on repositories that have had no commits for >50 days. This presents a problem for repos such as fs-synapse which are still actively used but may not have frequent commits. When the workflow is deactivated, it also prevents normal runs from happening when you push new changes to a PR or into main until you reactivate it.

Solution:

Add the keepalive-workflow to our CI pipeline to prevent our scheduled action from ever becoming paused.

IBCDPE-898
Problem:

Similar to py-orca, this repository was initially setup incorrectly with tox, causing the test environments created by the CI pipeline to use the wrong Python versions.

Solution:

Implement the same fix as here to enable testing with the correct Python versions in GitHub Actions.

Notes:

  • I have also removed support for Python 3.8 for fs-synapse. There are a number of subscripted types in the type-hints of the package and I figured this made more sense than making the changes needed to support 3.8, especially given that this will be included in the new fs-synapse major version

@BWMac BWMac requested a review from a team as a code owner March 27, 2024 17:49
@BWMac BWMac marked this pull request as draft March 27, 2024 18:21
@BWMac BWMac changed the title Prevents Scheduled Workflow From Being Deactivated Prevents Scheduled Workflow From Being Deactivated & [IBCDPE-898] Fix Python Versioning Issue for CI Apr 1, 2024
@BWMac BWMac marked this pull request as ready for review April 1, 2024 17:04
Copy link

@BryanFauble BryanFauble left a comment

Choose a reason for hiding this comment

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

🔥 LGTM!

@BWMac BWMac merged commit f3aabf6 into main Apr 1, 2024
5 of 6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants