-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from alan-turing-institute/test-travis
Fix CI (/migrate to GitHub actions)
- Loading branch information
Showing
9 changed files
with
77 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
schedule: | ||
- cron: "5 5 5 * *" # run at 05:05 on 5th day of each month | ||
|
||
name: Build | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- {os: ubuntu-latest, r: 'release'} | ||
- {os: ubuntu-latest, r: 'oldrel'} | ||
- {os: ubuntu-latest, r: 'devel'} | ||
- {os: macOS-latest, r: 'release'} | ||
- {os: windows-latest, r: 'release'} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-tinytex@v2 | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
any::devtools | ||
any::covr | ||
- name: Check package | ||
run: devtools::document();devtools::check() | ||
shell: Rscript {0} | ||
|
||
- name: Check coverage | ||
run: covr::codecov(quiet = FALSE) | ||
shell: Rscript {0} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: netdist | ||
Title: An implementation of the NetEMD alignment-free network distance measure | ||
Version: 0.4.9000 | ||
Version: 0.4.9100 | ||
Authors@R: person("Martin", "O'Reilly",email = "[email protected]", | ||
role = c("aut", "cre")) | ||
Description: An implementation of the NetEMD alignment-free network | ||
|
@@ -20,15 +20,15 @@ Imports: | |
purrr, | ||
lpSolve, | ||
plyr, | ||
dplyr, | ||
pheatmap, | ||
Rcpp, | ||
phangorn | ||
Suggests: | ||
dplyr, | ||
phangorn, | ||
testthat, | ||
knitr, | ||
rmarkdown, | ||
roxygen2 | ||
RoxygenNote: 7.1.0 | ||
RoxygenNote: 7.2.0 | ||
VignetteBuilder: knitr | ||
Encoding: UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.