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

Add GitHub Action for tox runs #984

Merged
merged 15 commits into from
Sep 14, 2020
Merged

Conversation

ffe4
Copy link
Contributor

@ffe4 ffe4 commented Aug 14, 2020

Description

A GHA test workflow as suggested in #870. The workflow runs the same jobs as the CircleCI workflow and all jobs cache the .tox directory. The py35-instrumentation test segfails on ubuntu-18.04. As a workaround it is running it on 20.04 instead.

GHA has 5GB of cache space, after which old caches get deleted. This should be enough to cache two iterations of tox.ini/dev-requirements.txt. The OTEL org has a shared concurrency limit of at least 60 jobs according to this comment.

Here’s a table with completion times of the most recent cached runs.

Commit CircleCI GitHub Actions
8e5e3c8 8m 28s 10m 34s
4b24542 10m 14s 8m 2s
cc902bc 10m 12s 7m 33s
ba74b80 10m 42s 9m 38s
9595728 10m 54s 8m 0s

Fixes #870

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 14, 2020

CLA Check
The committers are authorized under a signed CLA.

@ffe4 ffe4 changed the title Add GitHub Action for tox runs [WIP] Add GitHub Action for tox runs Aug 14, 2020
@ffe4 ffe4 force-pushed the gha-tox branch 2 times, most recently from 4585c47 to be07a72 Compare August 16, 2020 17:46
@ffe4 ffe4 changed the title [WIP] Add GitHub Action for tox runs Add GitHub Action for tox runs Sep 9, 2020
@ffe4 ffe4 marked this pull request as ready for review September 9, 2020 15:19
@ffe4 ffe4 requested a review from a team September 9, 2020 15:19
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for taking this on. It's easy enough to have both running for now, and when we're ready to, remove the circle CI config.

Copy link
Contributor

@lzchen lzchen left a comment

Choose a reason for hiding this comment

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

Might consider removing 3.4 after #1099

@ffe4
Copy link
Contributor Author

ffe4 commented Sep 13, 2020

Might consider removing 3.4 after #1099

If it is merged first I will push an update.

@codeboten codeboten merged commit 86460c9 into open-telemetry:master Sep 14, 2020
@ffe4 ffe4 deleted the gha-tox branch September 17, 2020 07:15
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
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.

Proposal: Use GitHub Actions for CI/CD
3 participants