-
Notifications
You must be signed in to change notification settings - Fork 17
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
Travis-ci and Coveralls not updating #91
Comments
Sounds good! Update as you see fit |
Will do. Any idea why these two aren't updating though? |
I don't know, but I'd suggest moving to Github actions anyway. https://devguide.ropensci.org/ci.html?q=actions#github-actions-linux-mac-osx-windows |
If helpful @sebpardo I could submit a PR to add GitHub Actions R CMD Check CI (windows, mac, linux) and its badge. Once that is working, I have further ideas for removing/replacing some of the other broken badges and CI systems. |
Yes @slager, that would be very helpful! I'm quite out of the loop with regards to check options. |
#98 adds GitHub actions checks and keeps the other CI and badges for now. If and when GitHub Actions checks work, I could submit another PR to remove the old Travis and Appveyor stuff, unless there is a reason to keep that around? |
I don't see the need to keep the old Travis and Appveyor checks once GitHub Actions checks work, however they are all failing as they require an API key to properly run the tests (see issue #100). |
Looks like the GitHub Actions checks and badge are now working. Thanks for adding the badge to the .rd file. Some tests are failing because the CI doesn't have the API key. I can submit a PR to temporarily skip these tests using testthat::skip_on_ci(). In the medium term, I am working on using the |
@sebpardo The path of least resistance for code coverage seems to be codecov but it may be necessary to contact someone at ropensci to have them activate rebird there. Or maybe it will just start working automatically when the first codecov GitHub Action runs. As for integrating test coverage into GitHub Actions, I think there are maybe 2 options.
I've been playing around locally with option 2 and this seems to work quite well, with the added benefit of speeding up testing since the API requests are not actually re-done each time. The basic idea is that one can run the tests locally using one's own eBird API and create YML files that record the API interactions. Then on CI and CRAN, the tests run by playing back these API recordings, not requiring any API keys in CI at all. The recordings can periodically be refreshed locally, for example when eBird updates their API. If 2 sounds good I can move ahead with working on a PR for that so that the tests run on GitHub Actions with the R CMD checks using vcr, and can also add the test coverage GitHub Action & new code coverage badge. |
Hi @slager, I think option 1 is the simplest and likely best alternative; I just looked into it and it seems pretty straightforward. I've created a rebird-specific eBird account so we have a somewhat disposable API key, just in case. |
Definitely not opposed to option 1 if can get it working. See example run and documentation in #105 for pros and cons of option 2. |
Hey @slager, I think you've fully dealt with this now, can we close? |
I noticed that travis-ci and coveralls are not being ran with the latest commits/releases; travis-ci last ran on an commit from 8 months ago while coveralls last ran 5 years ago. Obviously this isn't any issue with
rebird
itself, but I wonder if we should update the badges? @sckott ?The text was updated successfully, but these errors were encountered: