File tree 5 files changed +35
-16
lines changed
5 files changed +35
-16
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,23 @@ jobs:
22
22
fail-fast : false
23
23
matrix :
24
24
config :
25
- - {os: macOS -latest, r: 'release'}
25
+ - {os: macos -latest, r: 'release'}
26
26
27
27
- {os: windows-latest, r: 'release'}
28
- # Use 3.6 to trigger usage of RTools35
29
- - {os: windows-latest, r: '3.6'}
30
28
31
- # Use older ubuntu to maximise backward compatibility
32
- - {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release'}
33
- - {os: ubuntu-18.04, r: 'release'}
34
- - {os: ubuntu-18.04, r: 'oldrel-1'}
29
+ # use 4.1 to check with rtools40's older compiler
30
+ - {os: windows-latest, r: '4.1'}
31
+
32
+ - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
33
+ - {os: ubuntu-latest, r: 'release'}
34
+ - {os: ubuntu-latest, r: 'oldrel-1'}
35
35
36
36
env :
37
37
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
38
38
R_KEEP_PKG_SOURCE : yes
39
39
40
40
steps :
41
- - uses : actions/checkout@v2
41
+ - uses : actions/checkout@v3
42
42
43
43
- uses : r-lib/actions/setup-pandoc@v2
44
44
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ jobs:
16
16
# issue-lock-labels: 'outdated'
17
17
issue-lock-comment : >
18
18
This issue has been automatically locked. If you believe you have
19
- found a related problem, please file a new issue (with a reprex:
19
+ found a related problem, please file a new issue (with a reprex
20
20
<https://reprex.tidyverse.org>) and link to this issue.
21
21
issue-lock-reason : ' '
22
22
pr-lock-inactive-days : ' 14'
23
23
# pr-exclude-labels: 'wip'
24
24
pr-lock-labels : ' '
25
25
pr-lock-comment : >
26
26
This pull request has been automatically locked. If you believe you
27
- have found a related problem, please file a new issue (with a reprex:
27
+ have found a related problem, please file a new issue (with a reprex
28
28
<https://reprex.tidyverse.org>) and link to this issue.
29
29
pr-lock-reason : ' '
30
30
# process-only: 'issues'
Original file line number Diff line number Diff line change 20
20
env :
21
21
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
22
22
steps :
23
- - uses : actions/checkout@v2
23
+ - uses : actions/checkout@v3
24
24
25
25
- uses : r-lib/actions/setup-pandoc@v2
26
26
39
39
40
40
- name : Deploy to GitHub pages 🚀
41
41
if : github.event_name != 'pull_request'
42
- uses : JamesIves/github-pages-deploy-action@4.1.4
42
+ uses : JamesIves/github-pages-deploy-action@v4. 4.1
43
43
with :
44
44
clean : false
45
45
branch : gh-pages
Original file line number Diff line number Diff line change 14
14
env :
15
15
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v3
18
18
19
19
- uses : r-lib/actions/pr-fetch@v2
20
20
with :
51
51
env :
52
52
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
53
53
steps :
54
- - uses : actions/checkout@v2
54
+ - uses : actions/checkout@v3
55
55
56
56
- uses : r-lib/actions/pr-fetch@v2
57
57
with :
Original file line number Diff line number Diff line change 15
15
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
19
19
20
20
- uses : r-lib/actions/setup-r@v2
21
21
with :
27
27
needs : coverage
28
28
29
29
- name : Test coverage
30
- run : covr::codecov(quiet = FALSE)
30
+ run : |
31
+ covr::codecov(
32
+ quiet = FALSE,
33
+ clean = FALSE,
34
+ install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
35
+ )
31
36
shell : Rscript {0}
37
+
38
+ - name : Show testthat output
39
+ if : always()
40
+ run : |
41
+ ## --------------------------------------------------------------------
42
+ find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
43
+ shell : bash
44
+
45
+ - name : Upload test results
46
+ if : failure()
47
+ uses : actions/upload-artifact@v3
48
+ with :
49
+ name : coverage-test-failures
50
+ path : ${{ runner.temp }}/package
You can’t perform that action at this time.
0 commit comments