Skip to content

Add continuous integration #24

Closed
Closed

Description

@GreatEmerald

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

Activity

  1. arnikz commented on Oct 9, 2019

    @arnikz
    Contributor

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

  2. GreatEmerald commented on Oct 9, 2019

    @GreatEmerald
    CollaboratorAuthor

    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/

  3. added
    enhancement
    on Oct 9, 2019
  4. arnikz commented on Oct 9, 2019

    @arnikz
    Contributor

    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
  5. changed the title [-]Add unit testing environment[/-] [+]Add continuous integration[/+] on Oct 10, 2019
  6. self-assigned this
    on Oct 14, 2019
  7. added this to the CRAN submission milestone on Mar 18, 2021
  8. GreatEmerald commented on Mar 18, 2021

    @GreatEmerald
    CollaboratorAuthor

    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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions