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

[MRG] CI: moving python tests from travis to GH actions #1249

Merged
merged 8 commits into from
Dec 8, 2020
Merged

Conversation

luizirber
Copy link
Member

@luizirber luizirber commented Dec 7, 2020

Turns out we consume the Travis credits too fast and it is blocking our PRs. This PR moves the Python tests from Travis to GitHub Actions.

I made the Python tests on 3.9 required, as well as wheel building on Linux and MacOS.

Travis is still running arm64 and ppcle64 wheels on new tags, but otherwise all tests were transferred to GitHub Actions with this PR.

TODO

Checklist

  • Is it mergeable?
  • make test Did it pass the tests?
  • make coverage Is the new code covered?
  • Did it change the command-line interface? Only additions are allowed
    without a major version increment. Changing file formats also requires a
    major version number increment.
  • Was a spellchecker run on the source code and documentation after
    changes were made?

@codecov
Copy link

codecov bot commented Dec 7, 2020

Codecov Report

Merging #1249 (c9bb94f) into latest (b99ed8e) will increase coverage by 49.18%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           latest    #1249       +/-   ##
===========================================
+ Coverage   43.69%   92.87%   +49.18%     
===========================================
  Files         103       76       -27     
  Lines        9533     5977     -3556     
===========================================
+ Hits         4165     5551     +1386     
+ Misses       5368      426     -4942     
Flag Coverage Δ
rusttests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/src/index/storage.rs
src/core/src/ffi/utils.rs
src/core/src/ffi/mod.rs
src/core/src/sketch/hyperloglog/mod.rs
src/core/src/ffi/signature.rs
src/core/src/ffi/hyperloglog.rs
src/core/src/index/linear.rs
src/core/src/encodings.rs
src/core/src/errors.rs
src/core/src/ffi/minhash.rs
... and 89 more

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 b99ed8e...c9bb94f. Read the comment docs.

@luizirber luizirber force-pushed the python_gh branch 3 times, most recently from c9a4266 to b903c5e Compare December 7, 2020 23:39
@luizirber luizirber changed the title [WIP] CI: moving python tests from travis to GH actions [MRG] CI: moving python tests from travis to GH actions Dec 8, 2020
@luizirber
Copy link
Member Author

Ready for review and merge @ctb

@@ -3,6 +3,7 @@ name: cibuildwheel
on:
push:
branches: [latest]
tags: v*
Copy link
Member Author

Choose a reason for hiding this comment

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

(and this should fix building wheels on new tags, @ctb: try to force push 4.0.0a2 again after this is merged =])

Copy link
Contributor

@ctb ctb left a comment

Choose a reason for hiding this comment

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

nice!

@ctb ctb merged commit 2041b8a into latest Dec 8, 2020
@ctb ctb deleted the python_gh branch December 8, 2020 02: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