File tree 1 file changed +51
-2
lines changed
1 file changed +51
-2
lines changed Original file line number Diff line number Diff line change 36
36
check-matrix :
37
37
runs-on : ubuntu-18.04
38
38
needs : matrix
39
+
40
+ name : Check deps
41
+
39
42
steps :
40
43
- name : Install json2yaml
41
44
run : |
48
51
echo $matrix | jq .
49
52
echo $matrix | json2yaml
50
53
54
+ R-CMD-check-base :
55
+ runs-on : ubuntu-18.04
56
+
57
+ name : base
58
+
59
+ # Begin custom: services
60
+ # End custom: services
61
+
62
+ strategy :
63
+ fail-fast : false
64
+ matrix : ${{fromJson(needs.matrix.outputs.matrix)}}
65
+
66
+ steps :
67
+ - uses : actions/checkout@v2
68
+
69
+ - uses : ./.github/workflows/custom/before-install
70
+ if : hashFiles('.github/workflows/custom/before-install/action.yml') != ''
71
+
72
+ - uses : ./.github/workflows/install
73
+ with :
74
+ install-r : false
75
+ cache-version : rcc-dev-base-1
76
+ needs : check
77
+ extra-packages : " any::rcmdcheck any::remotes ."
78
+ token : ${{ secrets.GITHUB_TOKEN }}
79
+
80
+ - name : Session info
81
+ run : |
82
+ options(width = 100)
83
+ if (!requireNamespace("sessioninfo", quietly = TRUE)) install.packages("sessioninfo")
84
+ pkgs <- installed.packages()[, "Package"]
85
+ sessioninfo::session_info(pkgs, include_base = TRUE)
86
+ shell : Rscript {0}
87
+
88
+ - uses : ./.github/workflows/custom/after-install
89
+ if : hashFiles('.github/workflows/custom/after-install/action.yml') != ''
90
+
91
+ - uses : ./.github/workflows/update-snapshots
92
+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
93
+
94
+ - uses : ./.github/workflows/check
95
+ with :
96
+ results : ${{ matrix.package }}
97
+
51
98
R-CMD-check-dev :
52
- needs : matrix
99
+ needs :
100
+ - matrix
101
+ - R-CMD-check-base
53
102
54
103
runs-on : ubuntu-18.04
55
104
99
148
100
149
- uses : ./.github/workflows/check
101
150
with :
102
- results : ${{ matrix.package }}
151
+ results : ${{ matrix.package }}
You can’t perform that action at this time.
0 commit comments