Repository navigation
Refactor GHA CI workflow for speed. - #3681
JoaoRodrigues wants to merge 19 commits into
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3681 +/- ##
==========================================
- Coverage 83.60% 81.89% -1.71%
==========================================
Files 316 296 -20
Lines 52496 49376 -3120
==========================================
- Hits 43888 40437 -3451
- Misses 8608 8939 +331
Continue to review full report at Codecov.
|
|
@peterjc I quit :) I have no idea how to fix the PyPy3 issues. Getting some dependencies built takes forever (10+ min) and testing generally speaking is very slow. I would maybe move PyPy3 CI to a different yaml file/workflow and try to make it optional (or run only on push or periodically), otherwise our entire CI is slowed down considerably. What do you think? I got the docs error to go away, but the RST linting is failing (never worked in GHA) because of this error below. Could you take a look? |
|
Pragmatic answer: Test pypy with as few dependencies as possible, I would suggest just numpy and mysqlclient as per the old TravisCI setup where again, the pypy tests were the slowest. See https://github.com/biopython/biopython/blob/biopython-179/.travis-tox.ini#L55 and the list of dependencies thereafter. |
|
And yes, #3682 aims to fix the RST / Sphinx API doc testing |
|
Will split pypy3 into its own job (seems the simplest) and keep deps to a minimum, like the macos and windows builds. |
|
I don't immediately see why that grep based linting is failing, but you could try dropping the |
A first (or n-th) attempt to use cache to make things a little faster. I also added the
concurrencykeyword which runs only one action/workflow per github branch or reference, and atimeoutof 20 minutes to the tests to prevent hanging.I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile, have runpre-commitlocally,and understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
tests and style checks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)