Skip to content
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

[4] Move the Flags group over to the tox gen script #3974

Merged
merged 12 commits into from
Feb 13, 2025

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Jan 20, 2025

  • remove hardcoded entries for openfeature, launchdarkly, statsig, and unleash from the tox template
  • remove them from the ignore list in populate_tox.py
  • run populate_tox.py to fill in entries for them
  • run split_gh_tox_actions.py to generate the CI yaml files so that they correspond to the new tox.ini

Note that this effectively eliminates the -latest tests for the Flags group. The script doesn't generate any -latest tests since it always makes sure to add a pinned entry for the latest version. So in case all of the integrations in a single group are using the script, the whole -latest test category is removed.

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
wip

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
.

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
@sentrivana sentrivana marked this pull request as ready for review January 20, 2025 15:58
Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

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

Looks good, but see comment

@@ -754,6 +739,15 @@ deps =
# These come from the populate_tox.py script. Eventually we should move all
# integration tests there.

# ~~~ Flags ~~~
launchdarkly-v9.8.1: launchdarkly-server-sdk==9.8.1
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't the script pull 9.8.0 instead of 9.8.1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It only considers the highest micro version of each release

Base automatically changed from ivana/tox-script-4 to master February 11, 2025 10:26

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.33%. Comparing base (5a66a04) to head (ba74ec3).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3974      +/-   ##
==========================================
+ Coverage   80.32%   80.33%   +0.01%     
==========================================
  Files         140      140              
  Lines       15510    15510              
  Branches     2628     2628              
==========================================
+ Hits        12458    12460       +2     
+ Misses       2209     2208       -1     
+ Partials      843      842       -1     

see 3 files with indirect coverage changes

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
@sentrivana sentrivana enabled auto-merge (squash) February 13, 2025 14:21
@sentrivana sentrivana disabled auto-merge February 13, 2025 14:22

Verified

This commit was signed with the committer’s verified signature.
sentrivana Ivana Kellyer
@sentrivana sentrivana enabled auto-merge (squash) February 13, 2025 14:34
@sentrivana sentrivana merged commit 5a5a1cf into master Feb 13, 2025
148 checks passed
@sentrivana sentrivana deleted the ivana/tox-script-3 branch February 13, 2025 14:41
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.

None yet

2 participants