Skip to content

Commit a4030fc

Browse files
committed
Update test action
Signed-off-by: Peter Solymos <[email protected]>
1 parent b27ffb0 commit a4030fc

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

test/action.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
name: 'Analythium Actions: R CMD check TEST'
22
description: 'Check an R package'
3-
author: 'Analythium'
3+
author: 'Peter Solymos'
44
inputs:
5-
who-to-greet: # id of input
6-
description: 'Who to greet'
7-
required: true
8-
default: 'World'
9-
outputs:
10-
time: # id of output
11-
description: 'The time we greeted you'
5+
working-directory:
6+
description: 'The directory where the package can be found.'
7+
default: '.'
128
runs:
139
using: 'docker'
14-
image: 'Dockerfile'
15-
args:
16-
- ${{ inputs.who-to-greet }}
10+
image: ghcr.io/analythium/actions:latest
11+
steps:
12+
- name: Install dependencies
13+
run: deps-cli all --dir ${{ inputs.working-directory }}
14+
- name: Check R package
15+
run: R -q -e 'devtools::check("${{ inputs.working-directory }}", document=TRUE)'

0 commit comments

Comments
 (0)