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

GitHub Action checks failing due to missing API key #100

Closed
sebpardo opened this issue Jan 16, 2024 · 5 comments
Closed

GitHub Action checks failing due to missing API key #100

sebpardo opened this issue Jan 16, 2024 · 5 comments

Comments

@sebpardo
Copy link
Contributor

sebpardo commented Jan 16, 2024

GitHub Actions checks are failing as they require an eBird API key to properly run the tests. I'm unsure of how to securely store an API key for those checks without making it public.

@slager
Copy link
Collaborator

slager commented Jan 16, 2024

Checks now passing on GitHub Actions, but currently it is cheating by skipping most tests on CI.

I think this issue could be closed and can update progress towards making the tests pass (without sharing credentials) on #91.

I already have a local branch where I have the ebirdchecklistfeed tests working without sharing credentials, using the vcr package, which will work on CI and CRAN as well. I can get that working for all tests and submit another PR.

@slager
Copy link
Collaborator

slager commented Jan 17, 2024

Two GitHub Actions runs seemed to fail for non-rebird reasons. Maybe try rerunning the failed ones?

https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs

@sebpardo
Copy link
Contributor Author

The error is in ubuntu-latest (release) and ubuntu-latest (oldrel-1) and it's an issue when setting up R dependencies with installing the withr package:

Error: 
  ! error in pak subprocess
  Caused by error in `verify_extracted_package(filename, pkg_cache)`:
  ! 
  '/tmp/Rtmp6pgtjM/file13bc3a8e8aa6/src/contrib/x86_64-pc-linux-gnu-ubuntu-22.04/4.3/withr_3.0.0.tar.gz'
  is not a valid binary, it is missing withr/Meta/package.rds.

For some reason the ubuntu-latest (devel) build extracts withr just fine and passes. I think we can safely ignore these two build fails?

@slager
Copy link
Collaborator

slager commented Jan 17, 2024

Yes, I think can be ignored. Or could try re-running the failed actions (see above comment) and see if that produces a nice green check mark.

@sebpardo
Copy link
Contributor Author

That sorted it, all are passing.

@slager slager closed this as completed Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants