Skip to content

Commit fd7e169

Browse files
committed
updated github action
1 parent 5b66f72 commit fd7e169

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
^.*\.zenodo.json$
55
^\.buildlibrary$
66
^\.github$
7+
^codecov\.yml$

.github/workflows/test-package.yaml renamed to .github/workflows/test-buildlibrary.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name: check
1212

1313
jobs:
1414
check:
15-
runs-on: macOS-latest
15+
runs-on: ubuntu-20.04
1616
env:
1717
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1818
steps:
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install dependencies
4040
run: |
4141
repos <- c("https://cloud.r-project.org","https://rse.pik-potsdam.de/r/packages/")
42-
install.packages(c("remotes","lucode2","lusweave"), repos=repos)
42+
install.packages(c("remotes","lucode2"), repos=repos)
4343
remotes::install_deps(dependencies = TRUE)
4444
remotes::install_cran("covr")
4545
shell: Rscript {0}
@@ -51,4 +51,4 @@ jobs:
5151
- name: Validation key
5252
run: if(!lucode2:::validkey()$valid) stop("Invalid build key!")
5353
shell: Rscript {0}
54-
54+

codecov.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
comment: false
2+
3+
coverage:
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
threshold: 1%
9+
informational: true
10+
patch:
11+
default:
12+
target: auto
13+
threshold: 1%
14+
informational: true

0 commit comments

Comments
 (0)