Start testing using GitHub Actions by QuLogic · Pull Request #19036 · matplotlib/matplotlib · GitHub
Skip to content

Start testing using GitHub Actions - #19036

Merged
tacaswell merged 8 commits into
matplotlib:masterfrom
QuLogic:actions
Dec 3, 2020
Merged

Start testing using GitHub Actions#19036
tacaswell merged 8 commits into
matplotlib:masterfrom
QuLogic:actions

Conversation

@QuLogic

@QuLogic QuLogic commented Nov 28, 2020

Copy link
Copy Markdown
Member

PR Summary

I don't think we've gotten back any reply from Travis yet. This ports Linux and macOS builds over to GitHub Actions; it takes roughly the same build time overall, though the queue might be shorter. I'm not entirely sure whether I used the right keys for caching or if it's really very effective yet.

I believe interactive backend tests are running though, so this should restore our code coverage results.

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • [n/a] New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • [n/a] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

This is currently Linux-only, and skips caching and code coverage.
This was ignored on Travis for some time.
On Travis, NumPy was already installed and happened to be 1.16.4,
roundabout our desired minimum version. On GitHub Actions, NumPy is not
installed and gets installed later, since it was never specified in the
command with the pins.

Also, add minimum Pillow to the pins.
@QuLogic QuLogic added this to the v3.3.4 milestone Nov 28, 2020
@QuLogic

QuLogic commented Nov 28, 2020

Copy link
Copy Markdown
Member Author

@QuLogic
QuLogic force-pushed the actions branch 3 times, most recently from bb8d25a to 36b73cc Compare November 28, 2020 07:14
@jklymak

jklymak commented Dec 3, 2020

Copy link
Copy Markdown
Member

@QuLogic I'm fine with you self-merging this if we don't hear from @tacaswell. Looks good, but I'm not an expert on the testing infrastructure.

@tacaswell
tacaswell merged commit 4d3b10e into matplotlib:master Dec 3, 2020
@QuLogic
QuLogic deleted the actions branch December 3, 2020 19:54
@lumberbot-app

lumberbot-app Bot commented Dec 3, 2020

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants