Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,32 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: '4.3' # TODO(r-lib/covr#567): Go back to using r-devel

- uses: r-lib/actions/setup-r-dependencies@v2
with:
# TODO(covr > 4.0.0): pkgbuild should not be necessary
extra-packages: any::covr, any::xml2, any::pkgbuild
extra-packages: any::covr
needs: coverage

- name: Test coverage
run: |
# Flag partially-executed single-line C branches as uncovered
options(covr.gcov_partial = "uncovered")
cov <- covr::package_coverage(
quiet = FALSE,
clean = FALSE,
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
covr::to_cobertura(cov)
print(cov, missing = TRUE)
summary_file <- Sys.getenv("GITHUB_STEP_SUMMARY")
if (nzchar(summary_file)) {
cat(covr::coverage_to_markdown(cov), file = summary_file, sep = "\n", append = TRUE)
}
covr::lcov(cov)
shell: Rscript {0}

- uses: codecov/codecov-action@v7
with:
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
files: ./cobertura.xml
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN != '' }}
files: ./lcov.info
plugins: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version: 1.18.99
Title: Extension of `data.frame`
Depends: R (>= 3.5.0)
Imports: methods, stats, utils
Suggests: bit64 (>= 4.0.0), R.utils, xts, zoo (>= 1.8-1), yaml, litedown, codetools
Suggests: bit64 (>= 4.0.0), R.utils, xts, zoo (>= 1.8-1), yaml, litedown, codetools, parallel
Enhances: knitr, xfun
Description: Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns, friendly and fast character-separated-value read/write. Offers a natural and flexible syntax, for faster development.
License: MPL-2.0 | file LICENSE
Expand Down
Loading