@@ -213,6 +213,8 @@ jobs:
213
213
- {os: windows-latest, r: 'release'}
214
214
# Use 3.6 to trigger usage of RTools35
215
215
- {os: windows-latest, r: '3.6'}
216
+ # use 4.1 to check with rtools40's older compiler
217
+ - {os: windows-latest, r: '4.1'}
216
218
217
219
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
218
220
- {os: ubuntu-latest, r: 'release'}
@@ -284,8 +286,27 @@ jobs:
284
286
needs: coverage
285
287
286
288
- name: Test coverage
287
- run: covr::codecov(quiet = FALSE)
289
+ run: |
290
+ covr::codecov(
291
+ quiet = FALSE,
292
+ clean = FALSE,
293
+ install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
294
+ )
288
295
shell: Rscript {0}
296
+
297
+ - name: Show testthat output
298
+ if: always()
299
+ run: |
300
+ ## --------------------------------------------------------------------
301
+ find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
302
+ shell: bash
303
+
304
+ - name: Upload test results
305
+ if: failure()
306
+ uses: actions/upload-artifact@v3
307
+ with:
308
+ name: coverage-test-failures
309
+ path: ${{ runner.temp }}/package
289
310
` ` `
290
311
291
312
# # Lint workflow
@@ -326,6 +347,8 @@ jobs:
326
347
- name: Lint
327
348
run: lintr::lint_package()
328
349
shell: Rscript {0}
350
+ env:
351
+ LINTR_ERROR_ON_LINT: true
329
352
` ` `
330
353
331
354
# # Commands workflow
@@ -599,9 +622,9 @@ changes to the same branch.
599
622
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
600
623
on:
601
624
push:
602
- paths: ["**.[rR]", "**.[rR ]md", "**.[rR]markdown", "**.[rR]nw"]
625
+ paths: ["**.[rR]", "**.[qrR ]md", "**.[rR]markdown", "**.[rR]nw"]
603
626
pull_request:
604
- paths: ["**.[rR]", "**.[rR ]md", "**.[rR]markdown", "**.[rR]nw"]
627
+ paths: ["**.[rR]", "**.[qrR ]md", "**.[rR]markdown", "**.[rR]nw"]
605
628
606
629
name: Style
607
630
@@ -959,6 +982,8 @@ jobs:
959
982
- name: Lint root directory
960
983
run: lintr::lint_dir()
961
984
shell: Rscript {0}
985
+ env:
986
+ LINTR_ERROR_ON_LINT: true
962
987
` ` `
963
988
964
989
# # Forcing binaries
0 commit comments