rOpenGov / geofi

R package for accessing Finnish geospatial data
https://ropengov.github.io/geofi/
Other
19 stars 6 forks source link

Travis-CI to GitHub Actions #31

Closed pitkant closed 3 years ago

pitkant commented 3 years ago

Old Travis-CI.org service will be shut down after 31th of December, requiring either action to migrate to the commercial Travis-CI.com service or migrating to a new CI altogether. An rOpenSci blogpost describes the pros of moving to GitHub Actions. The process is as follows:

  1. run: usethis::use_github_action_check_standard()
  2. Check if package tests contain skip_on_travis -functions and replace them with skip_on_ci
  3. Add a badge to the package README: [![R build status](https://github.com/rOpenGov/PACKAGENAME/workflows/R-CMD-check/badge.svg)](https://github.com/rOpenGov/PACKAGENAME/actions)
  4. Remove travis.yml (and appveyor.yml)
  5. Remove Travis CI badge (and Appveyor badge, since GHA runs tests simultaneously for Linux, macOS and Windows)
antagomir commented 3 years ago

Is ok. Remember to remove .travis and appveyor.yml files from root folder too.

And in tests skip_on_travis should be replaced with skip_on_ci

Can you make a PR?