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

Migrate continuous integration from Travis to GitHub Actions #108

Merged
merged 23 commits into from Feb 5, 2021

Conversation

florisvdh
Copy link
Member

@florisvdh florisvdh commented Feb 5, 2021

Dropped integration with Travis CI, as we cannot further implement it for free (first problems were encountered at inbo/tutorials#221 (comment)). More background is provided in a post at rOpenSci: Moving away from Travis CI.

This PR implements three "GitHub Actions" workflows (tested in florisvdh/n2khab-fork):

  • R-CMD-check: modified from r-lib/actions/examples/check-standard.yaml.
    • 6 jobs included (latest two Ubuntu LTS x {r-release, r-devel}; Windows with r-release; MacOS with r-release). Essentially performs R CMD check --as-cran --no-manual.
    • Jobs are triggered:
      • on push (all branches)
      • on pull-requests to master (job is run on the would-be merge-commit)
      • monthly (on master)
    • Check results (zip) are saved as artifact per job (90 days available).
  • site-deploy: modified from r-lib/actions/examples/pkgdown.yaml.
    • One job; builds pkgdown website and pushes it to gh-pages. Runs on Ubuntu 20.04.
    • Triggered when new commit is added to master.
  • site-devel: modified from site-deploy.
    • One job; builds pkgdown website without deploying. Runs on Ubuntu 20.04.
    • Triggered on any pull-request (job is run on the would-be merge-commit).
    • The rendered pkgdown website (zip) is saved as an artifact with the job (90 days available).

All workflows use the standard CRAN repository. All Linux workflows also use the ubuntugis-unstable PPA to get (more) recent geospatial libraries.

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

Successfully merging this pull request may close these issues.

None yet

1 participant