Commit 7040a80 1 parent 7411ece commit 7040a80 Copy full SHA for 7040a80
File tree 4 files changed +29
-6
lines changed
4 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 30
30
R_KEEP_PKG_SOURCE : yes
31
31
32
32
steps :
33
- - uses : actions/checkout@v3
33
+ - uses : actions/checkout@v4
34
34
35
35
- uses : r-lib/actions/setup-pandoc@v2
36
36
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@v3
17
+ - uses : actions/checkout@v4
18
18
19
19
- uses : r-lib/actions/setup-r@v2
20
20
with :
28
28
- name : Lint
29
29
run : lintr::lint_package()
30
30
shell : Rscript {0}
31
+ env :
32
+ LINTR_ERROR_ON_LINT : true
Original file line number Diff line number Diff line change 19
19
group : pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
20
20
env :
21
21
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
22
+ permissions :
23
+ contents : write
22
24
steps :
23
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
24
26
25
27
- uses : r-lib/actions/setup-pandoc@v2
26
28
39
41
40
42
- name : Deploy to GitHub pages 🚀
41
43
if : github.event_name != 'pull_request'
42
- uses : JamesIves/github-pages-deploy-action@v4.4.1
44
+ uses : JamesIves/github-pages-deploy-action@v4.5.0
43
45
with :
44
46
clean : false
45
47
branch : gh-pages
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@v3
18
+ - uses : actions/checkout@v4
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@v4
48
+ with :
49
+ name : coverage-test-failures
50
+ path : ${{ runner.temp }}/package
You can’t perform that action at this time.
0 commit comments