Run unit tests on git push and integration tests on pull request
问题 When building R packages, we use testthat to write tests. We have 2 files: a test file for the specific package ( specific.R ), and one that we use to make sure all packages continue to work together and the overall result is fine ( overall.R ). Both tests are currently run when we push to github or create a PR through Travis, which implicitly runs this line of code( R CMD check *tar.gz ). check runs all the tests in the test folder, and thus both files are run. Now, I'm a bit new to testing.