Skip to content

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

Merged
sentrivana merged 12 commits into
masterfrom
ivana/tox-script-3
Feb 13, 2025
Merged

[4] Move the Flags group over to the tox gen script#3974
sentrivana merged 12 commits into
masterfrom
ivana/tox-script-3

Conversation

@sentrivana

@sentrivana sentrivana commented Jan 20, 2025

Copy link
Copy Markdown
Contributor
  • 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.

@sentrivana
sentrivana marked this pull request as ready for review January 20, 2025 15:58

@szokeasaurusrex szokeasaurusrex left a comment

Copy link
Copy Markdown
Member

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

Comment thread tox.ini
# integration tests there.

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

Copy link
Copy Markdown
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
Copy Markdown
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
@codecov

codecov Bot commented Feb 12, 2025

Copy link
Copy Markdown

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

@sentrivana
sentrivana enabled auto-merge (squash) February 13, 2025 14:21
@sentrivana
sentrivana disabled auto-merge February 13, 2025 14:22
@sentrivana
sentrivana enabled auto-merge (squash) February 13, 2025 14:34
@sentrivana
sentrivana merged commit 5a5a1cf into master Feb 13, 2025
@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.

2 participants