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

Improve github actions #219

Merged
merged 19 commits into from
Jan 31, 2021
Merged

Improve github actions #219

merged 19 commits into from
Jan 31, 2021

Conversation

ckleemann
Copy link
Collaborator

I did some improvements on the action definition. In the end we have speedup of ~40% e.g. from 1:29 minutes to 51 seconds
Changes:

  • Actions now run for push and pull_requests on every branch
  • Build was renamed to test
  • The Ubuntu version is pinned to a specific version instead of "latest". (In January 2021 "latest" is still 18.04)
  • Added python 3.9
  • Added caching for pip
  • For test run only md5 is used. Only this saves 12 seconds
  • Split tests in Static tests and Unit test
  • Static tests also check for missing migrations
  • remove duplicate django test run. coverage run also outputs errors
  • move coverage settings to .coveragerc file

I think it is now a good blueprint which also could by used for pyophase.

@miterion
Copy link
Member

lgtm

@miterion miterion merged commit e7dc4ff into master Jan 31, 2021
@miterion miterion deleted the faster-actions branch January 31, 2021 14:16
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.

None yet

2 participants