Comments (7)
Hi
I will take a look. Codecov S3 server was failing a bit more often recently...not sure if this is the reason.
We can also implement coverage reporting via GitHub Actions only... similar to what we have for twisted/towncrier
from pydoctor.
I just re-run a job from the main branch and codecov publish was succesful
https://github.com/twisted/pydoctor/actions/runs/8756510054/job/24062635255#step:8:45
codecov coverate is still pushed using the old python upload tools, that is now deprecated....
but it still works
https://github.com/twisted/pydoctor/blob/master/tox.ini#L41-L48
One thing that we can do on error, is to automatically wait 30 seconds and retry the upload
from pydoctor.
From what I can see, codecov was setup here , oct 2020 , by Maarten
82ad7d6
from pydoctor.
One thing that we can do for cleanup for GitHub Actions, is update to nodejs 20
We have all these warnings
and at some point, things will break.
For now, there are still many people using the old nodejs16 actions, and GitHub has decided to keep support for now... but support can be removed anytime
from pydoctor.
Codecov constantly fails for PR #781
I'll try to update the codecov config, but I'm not familiar with it yet.
from pydoctor.
OK. I see the problem. It's always best to also send a link to the build.
https://github.com/twisted/pydoctor/actions/runs/8768226898/job/24063009027#step:8:58
The important part is that the codecov was failing, but tox was ending the job with a success.
This needs to be fixed
I will give it a try to update to use the new codecov action
.query commit=932c13df34b50e48ffddee9587d6ac09382c1a19&branch=780-transform-deprecated-typing-annotations&pr=781&build_url=http%3A%2F%2Fgithub.com%2Ftwisted%2Fpydoctor%2Factions%2Fruns%2F8768226898&service=github-actions&build=8768226898&slug=twisted%2Fpydoctor&yaml=.codecov.yml&package=py2.1.13
Gzipping contents..
Compressed contents to 27135 bytes
Pinging Codecov...
Retrying 1/5 in 2s..
Retrying 2/5 in 2s..
Retrying 3/5 in 2s..
Retrying 4/5 in 2s..
Retrying 5/5 in 2s..
Direct to s3 failed. Using backup v2 endpoint.
Uploading to Codecov...
Retrying 1/5 in 2s..
Retrying 2/5 in 2s..
Retrying 3/5 in 2s..
Retrying 4/5 in 2s..
Retrying 5/5 in 2s..
{'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
Error: 404 Client Error: Not Found for url: https://codecov.io/upload/v2?commit=932c13df34b50e48ffddee9587d6ac09382c1a19&branch=780-transform-deprecated-typing-annotations&pr=781&build_url=http%3A%2F%2Fgithub.com%2Ftwisted%2Fpydoctor%2Factions%2Fruns%2F8768226898&service=github-actions&build=8768226898&slug=twisted%2Fpydoctor&yaml=.codecov.yml&package=py2.1.13
Tip: See all example repositories: https://github.com/codecov?query=example
codecov: OK (34.43=setup[9.94]+cmd[1.[42](https://github.com/twisted/pydoctor/actions/runs/8768226898/job/24063009027#step:8:43),23.06] seconds)
congratulations :) (34.50 seconds)
from pydoctor.
Thanks @adiroiban
from pydoctor.
Related Issues (20)
- Build infrastructure: Run ReadTheDocs on every PR/commit? HOT 2
- Find an extensible manner to integrate templatewriter customizations
- How to break down (debug) " Cannot find link target for XYZ" errors? HOT 9
- Failure to process classifiers as part of consolidation fields in a reStructuredText docstring HOT 2
- Upgrade all annotations to use python 3.10 style HOT 1
- RFE: please provide update for `urllib3` 2.2.x HOT 5
- Fix compatibility with docutils 0.21.x
- Transform deprecated typing annotation into python 3.10 style HOT 1
- Docutils is slow for constructor links HOT 1
- doc(FAQ): How to lint? HOT 1
- Release automation is broken HOT 3
- Move away from appdirs package
- 24.3.3: pytest fails in `pydoctor/test/test_cyclic_imports_base_classes.py::test_cyclic_imports_base_classes` unit HOT 1
- Add support for the new doc micro syntax (PEP727)
- Do a real distinction in between the code model and the view model
- Add support for doc comments HOT 2
- HTML: Break function signature elements into multiple spans HOT 2
- Drop python 3.7
- Source code files are always assumed to be uft-8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydoctor.