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

test(gcp): Only run GCP tests when they should #3721

Merged

Conversation

szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Oct 31, 2024

GCP tests have been running in our common test suite, including on Python versions other than 3.7 (the only version which supports the GCP integration), even though we have a separate py3.7-gcp tox environment for these tests. The tests take a long time (approx 1 minute+), so only executing in the appropriate tox environment should speed up CI time.

GCP tests have been running in our common test suite, including on Python versions other than 3.7 (the only version which supports the GCP integration), even though we have a separate `py3.7-gcp` tox environment for these tests. The tests take a long time, so only executing in the appropriate `tox` environment should speed up CI time.
Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.87%. Comparing base (aa6e8fd) to head (9038637).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3721      +/-   ##
==========================================
- Coverage   79.89%   79.87%   -0.02%     
==========================================
  Files         137      137              
  Lines       15373    15373              
  Branches     2609     2609              
==========================================
- Hits        12282    12279       -3     
- Misses       2221     2223       +2     
- Partials      870      871       +1     

see 3 files with indirect coverage changes

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

lgtm

@antonpirker antonpirker enabled auto-merge (squash) November 21, 2024 10:22
@antonpirker antonpirker merged commit e9ec6c1 into master Nov 21, 2024
136 checks passed
@antonpirker antonpirker deleted the szokeasaurusrex/only-run-gcp-tests-when-they-should-run branch November 21, 2024 11:46
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