Comments (2)
Hm...it seems like uploading coverage from forks can only occur at a maximum rate. I suspect this may have been happening before, and we're only noticing it now because I set codecov to fail when uploading coverage fails.
I'm not quite sure how to address this, other than to let the Codecov action succeed in CI even if it can't be uploaded (i.e., to revert the setting that I changed). If we do that, then we should make sure that the corresponding weekly test that does coverage should fail when it is not able to upload stuff. It may be possible to set up Codecov tokens that work for forks too.
I might not be able to get to this this week, so in the meantime it may be best to think of this as an allowed failure. Thank you for raising this!
from plasmapy.
We've also been getting this error, seemingly intermittently: Error: Codecov token not found. Please provide Codecov token with -t flag.
Run codecov/codecov-action@v4
with:
file: ./coverage.xml
fail_ci_if_error: false
env:
GH_TOKEN: ***
pythonLocation: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.11.9/arm64/lib/pkgconfig
Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/arm64
CODECOV_TOKEN:
==> macos OS detected
https://cli.codecov.io/latest/macos/codecov.SHA256SUM
==> Running version latest
==> Running version v0.5.2
==> Running git config --global --add safe.directory /Users/runner/work/PlasmaPy/PlasmaPy
/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/PlasmaPy/PlasmaPy
==> Running command '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov create-commit'
/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov create-commit --git-service github -C 55cd63bf025493cdd3db7df90928bd5cedfa8ae9
info - 2024-04-30 19:28:44,631 -- ci service found: github-actions
Error: Codecov token not found. Please provide Codecov token with -t flag.
Warning: Codecov: Failed to properly create commit: The process '/Users/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
gpg: directory '/Users/runner/.gnupg' created
gpg: /Users/runner/.gnupg/trustdb.gpg: trustdb created
gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: Signature made Thu Apr 18 16:30:51 2024 UTC
gpg: using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 2703 4E7F DB85 0E0B BC2C 62FF 806B B28A ED77 9869
==> Uploader SHASUM verified (90dc400a8fb20f91cacd2a694a515ecfe399adfe24294ae02613d513c1b18171 codecov)
from plasmapy.
Related Issues (20)
- Re-enable `sphinx-toolbox` as a Sphinx extension
- Make `Particle.ionize(numpy.inf)` return the nucleus of an atom
- Verify that rebuilding requirements works across operating systems HOT 1
- Restructure the GitHub workflows for minting and performing a release
- Release 2024.10.0 HOT 1
- Drop Python 3.10 after `v2024.10.0` release HOT 1
- Update docstring of `@validate_quantities` with `checks_on_return` → `validations_on_return`
- Array-like behavior for the `Particle` class HOT 1
- What does the "inplace" variable in the particle class mean? HOT 1
- Support for PIC Simulation Units
- CITATION.cff CI will pass if the auther name is NULL (i.e. `""`) HOT 1
- The documentation organization is inconsistent
- "Example Example" all over formulary docs
- Improve Tracker stopping documentation
- Upgrade ruff to v0.6+ and drop nbqa-ruff HOT 1
- Enable support for running PlasmaPy with the global interpreter lock turned off in CPython 3.13+
- Add Python 3.13 to test suite
- Update comments about running tests for very slow tests. HOT 1
- Use `uv.lock` file to pin dependencies in tests instead of files in `ci_requirements`?
- Getting internal errors when running Nox locally HOT 1
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 plasmapy.