Skip to content
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

Include coverage in a weekly test #2612

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

namurphy
Copy link
Member

@namurphy namurphy commented Apr 3, 2024

The code coverage reports have been acting a little weird lately. In #2598, for example, the BASE commit is from two months ago (with the nearest commits being #2477, #2478, & #2481). This PR is an attempt to get coverage reports uploaded from main.

Even if this PR does work, it's more of a patch 🩹 rather than a complete fix. It might be helpful to set it up so that the coverage test gets run every time a pull request is merged.

It may also be that we have code coverage set up incorrectly, or that the github token expired or something.

@github-actions github-actions bot added testing CI Related to continuous integration GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) labels Apr 3, 2024
@namurphy namurphy merged commit d5dd0dc into PlasmaPy:main Apr 3, 2024
16 of 17 checks passed
@namurphy namurphy deleted the codecov-tox branch April 3, 2024 20:57
@namurphy
Copy link
Member Author

namurphy commented Apr 3, 2024

After this and #2613 were merged, I ended up getting the following error. I'm debating which of the following emoji to respond with: 🤔 😿 😐 😅 🤦 🆘 😭 😬 🔒 🔑 🏳 🥦

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 Mar 28 15:15:56 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 (cb250ac4addcd9a21bf1c73d583cdae0e7fbd2c369350829fcc21ffb55ca81e6  codecov)
info - 2024-04-03 21:10:30,676 -- ci service found: github-actions
Error: Codecov token not found. Please provide Codecov token with -t flag.

I guess I need to set up the Codecov token?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Related to continuous integration GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) no changelog entry needed testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant