-
Notifications
You must be signed in to change notification settings - Fork 1
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
Replace circle CI with github actions #962
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #962 +/- ##
===========================================
+ Coverage 52.41% 63.38% +10.97%
===========================================
Files 162 112 -50
Lines 7740 6416 -1324
Branches 176 0 -176
===========================================
+ Hits 4057 4067 +10
+ Misses 3556 2349 -1207
+ Partials 127 0 -127 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shaping up well Helen, fab work. I've left a few comments around a few things but looks like you are sailing through it :)
Another thing to consider here is splitting out your actions, I think I mentioned that on the ticket but it might be worth doing before you look at deployments. E.G, your name: CI
on:
pull_request:
push:
branches: [dev, staging, master]
jobs:
lint:
uses: ./.github/workflows/lint.yml
test:
uses: ./.github/workflows/test.yml |
Just a sidenote, but this PR should also remove https://github.com/torchbox/rca-wagtail-2019/tree/master/.circleci so when it get's merge circle isn't trying to deploy too |
on: | ||
push: | ||
branches: | ||
- main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that needs to be master
as our branch still has that name
Hi @kevinhowbrook, I think this is nearly ready to merge now, and I won't have any more time for this for the considerable future, so I am hoping this is in a state now where you can take it back over and get it deployed. There are two things I haven't done, which I don't think are essential:
Note that now I have removed the circle ci config, I am getting an error reported by circle ci on this branch - presumably removing the circle ci setup would be part of the deployment process for this branch? I have added back in the flake8 test and fixed the errors it was reporting. I have added in the coverage tests using the same bash script as circleci was using - it seems to run OK, but it includes a |
…dev one from this branch
…dev one from this branch
c261bbf
to
e63fe3b
Compare
This MR moves from circle ci over to github actions. I have leant heavily on the set-up for torchbox at https://github.com/torchbox/wagtail-torchbox/blob/main/.github/workflows/test.yml
Tasks the CI covers
Note this MR also includes a couple of fixes to issues reported by flake8.
Further possible to dos (perhaps in separate merge requests):