1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 19:01:51 +02:00

(v1.2.0.9028) GitHub actions

This commit is contained in:
2020-07-08 20:43:25 +02:00
parent 5195e0b9da
commit d39d32448b
15 changed files with 30 additions and 26 deletions

View File

@ -28,10 +28,10 @@ on:
branches:
- master
name: check
name: R-code-check
jobs:
check:
R-code-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})

View File

@ -28,10 +28,10 @@ on:
branches:
- master
name: test-coverage
name: code-tested
jobs:
test-coverage:
code-tested:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

View File

@ -26,12 +26,13 @@ on:
- master
pull_request:
branches:
- premaster
- master
name: lint
name: lintr
jobs:
lint:
lintr:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@ -62,5 +63,5 @@ jobs:
shell: Rscript {0}
- name: Lint
run: lint_package(linters = with_defaults(line_length_linter = NULL, trailing_whitespace_linter = NULL, object_name_linter = NULL, cyclocomp_linter = NULL, object_usage_linter = NULL, object_length_linter = object_length_linter(length = 50L)), exclusions = list("R/aa_helper_functions_dplyr.R"))
run: lintr::lint_package(linters = with_defaults(line_length_linter = NULL, trailing_whitespace_linter = NULL, object_name_linter = NULL, cyclocomp_linter = NULL, object_usage_linter = NULL, object_length_linter = object_length_linter(length = 50L)), exclusions = list("R/aa_helper_functions_dplyr.R"))
shell: Rscript {0}