diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml deleted file mode 100644 index 21b8a93..0000000 --- a/.github/workflows/test-coverage.yaml +++ /dev/null @@ -1,50 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - push: - branches: [main, master] - pull_request: - branches: [main, master] - -name: test-coverage - -jobs: - test-coverage: - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - - steps: - - uses: actions/checkout@v4 - - - uses: r-lib/actions/setup-r@v2 - with: - use-public-rspm: true - - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::covr - needs: coverage - - - name: Test coverage - run: | - covr::codecov( - quiet = FALSE, - clean = FALSE, - install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") - ) - shell: Rscript {0} - - - name: Show testthat output - if: always() - run: | - ## -------------------------------------------------------------------- - find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true - shell: bash - - - name: Upload test results - if: failure() - uses: actions/upload-artifact@v4 - with: - name: coverage-test-failures - path: ${{ runner.temp }}/package diff --git a/README.Rmd b/README.Rmd index c9fc0d3..8c47807 100644 --- a/README.Rmd +++ b/README.Rmd @@ -17,9 +17,8 @@ knitr::opts_chunk$set( [![R-CMD-check](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml) -[![test-coverage](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml) -[![pkgdown](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml) [![Codecov test coverage](https://codecov.io/gh/JieYinStat/dbsubsampling/branch/master/graph/badge.svg)](https://app.codecov.io/gh/JieYinStat/dbsubsampling?branch=master) +[![pkgdown](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml) Providing a unified interface for IBOSS, Lowcon, OSS and other popular design-based subsampling methods. diff --git a/README.md b/README.md index 276211a..39dc3a5 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,9 @@ [![R-CMD-check](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/R-CMD-check.yaml) -[![test-coverage](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/test-coverage.yaml) -[![pkgdown](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml) [![Codecov test coverage](https://codecov.io/gh/JieYinStat/dbsubsampling/branch/master/graph/badge.svg)](https://app.codecov.io/gh/JieYinStat/dbsubsampling?branch=master) +[![pkgdown](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/JieYinStat/dbsubsampling/actions/workflows/pkgdown.yaml) Providing a unified interface for IBOSS, Lowcon, OSS and other popular