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

Add continuous integration #24

Closed
GreatEmerald opened this issue Oct 9, 2019 · 4 comments
Closed

Add continuous integration #24

GreatEmerald opened this issue Oct 9, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@GreatEmerald
Copy link
Collaborator

GreatEmerald commented Oct 9, 2019

Travis CI can be used (at least as a starting point). It should be enabled for the repo by making a travis.yml file.

@arnikz
Copy link
Contributor

arnikz commented Oct 9, 2019

see e.g. testthat R package for writing unit tests (#28)

@GreatEmerald
Copy link
Collaborator Author

Apparently Travis CI automatically picks those tests up, that's handy! It also should be able to run R CMD check by default as well, which in turn includes running the "examples" unit tests (but Codecov would probably not know about those).
Travis R documentation: https://docs.travis-ci.com/user/languages/r/

@arnikz
Copy link
Contributor

arnikz commented Oct 9, 2019

My suggestion would be to follow this guide with (R) best practices. Please have a look at one of our R projects here (and the corresponding repo).

For different OSes we need to config Travis-CI/Circle-CI/AppVeyor:

  • Linux
  • OSX
  • Windows

@GreatEmerald GreatEmerald changed the title Add unit testing environment Add continuous integration Oct 10, 2019
@arnikz arnikz self-assigned this Oct 14, 2019
@GreatEmerald GreatEmerald added this to the CRAN submission milestone Mar 18, 2021
@GreatEmerald
Copy link
Collaborator Author

Solved by using GitHub Actions instead. Currently it's running a basic R CMD check, later on will make more extensive checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants