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
Migrate CI to GH actions #4924
Migrate CI to GH actions #4924
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4924 +/- ##
==========================================
- Coverage 88.01% 87.83% -0.18%
==========================================
Files 158 158
Lines 9719 9719
Branches 1433 1433
==========================================
- Hits 8554 8537 -17
- Misses 910 928 +18
+ Partials 255 254 -1
|
443415e
to
18bf452
Compare
@Gallaecio @kmike @wRAR Uploading to the testing PyPI works: see https://github.com/elacuesta/scrapy/runs/1605715787 for 5521f2b (removed other jobs to save time, hardcoded name and version - different name since |
Nice @elacuesta! I meant to ask this before - do you know if wwe can have several workflow files, and e.g. separate test workflow from the publishing workflow? |
Indeed it's possible, I just split them into four workflows, looks like a good idea to improve organization. One missing thing though seems to be the ability to depend on jobs from other workflows (the |
.github/workflows/tests-ubuntu.yml
Outdated
|
||
jobs: | ||
tests-ubuntu: | ||
name: Tests - Ubuntu |
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.
This is super-minor, but Github shows status as Tests - Ubuntu / Tests - Ubuntu
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.
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.
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.
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.
Looks good to me. 🤞 about publish.yml
.
Given there’s 1 badge per workflow, I wonder if maybe it would make sense to keep only 2 workflows, tests and publish. But badges are not really a strong argument, so do not take it to heart, just a thought :) |
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.
👍
Based on #4814