Skip to content

Commit be22619

Browse files
committed
always upload
1 parent e2fae51 commit be22619

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/R-CMD-check.yaml

+8-7
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ jobs:
119119
df <- as.data.frame(res)
120120
if (sum(df$failed) > 0 || any(df$error)) stop("GHA CI tests failed")
121121
shell: Rscript {0}
122+
123+
# Upload the whole pkg since tests where run with devtools::test()
124+
- name: Upload check results
125+
if: always()
126+
uses: actions/upload-artifact@master
127+
with:
128+
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
129+
path: ./
122130

123131
# Run check with --no-tests since we ran them abve
124132
- name: Check
@@ -127,13 +135,6 @@ jobs:
127135
rcmdcheck::rcmdcheck(args = c("--no-tests", "--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
128136
shell: Rscript {0}
129137

130-
# Upload the whole pkg since tests where run with devtools::test()
131-
- name: Upload check results
132-
uses: actions/upload-artifact@master
133-
with:
134-
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
135-
path: ./
136-
137138
#- name: Show testthat output
138139
# if: always()
139140
# run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true

0 commit comments

Comments
 (0)