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

Detect GitHub Actions as continuous integration #1840

Merged
merged 1 commit into from Apr 2, 2020

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Apr 2, 2020

When setting up longer timeouts on continuous integration, I noticed that the "CI" environment variable was not available on GitHub Actions, and realized that it would be easy to forget when switching to GitHub Actions. And indeed, I forgot about it! And then https://github.com/urllib3/urllib3/runs/553809349 failed because LONG_TIMEOUT was too small. This pull request fixes that.

(By the way, the macOS builds are currently really slow, 2x to 3x slower than on Travis, even if they start faster. But it's still worth it, thanks to the parallelism.)

Copy link
Member

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

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

LGTM, this is what we get for using Azure Cloud leftovers as CI ;)

@codecov
Copy link

codecov bot commented Apr 2, 2020

Codecov Report

Merging #1840 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1840   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2007      2007           
=========================================
  Hits          2007      2007           
Flag Coverage Δ
#unittests 99.60% <ø> (+0.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8f63f6...ae4a99a. Read the comment docs.

@pquentin pquentin merged commit 0286734 into urllib3:master Apr 2, 2020
@pquentin pquentin deleted the github-actions-timeouts branch April 3, 2020 04:10
sethmlarson pushed a commit to sethmlarson/urllib3 that referenced this pull request Apr 11, 2020
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
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