Skip to content

fix(plotAB): remove unneccary what and only plot pc #70

fix(plotAB): remove unneccary what and only plot pc

fix(plotAB): remove unneccary what and only plot pc #70

Workflow file for this run

# Run CI for R using https://eddelbuettel.github.io/r-ci/
name: coverage
on:
push:
branches: [main, master, dev]
pull_request:
paths-ignore:
- '**/README.md'
- '**.nix'
- '**.toml'
- 'pkgdown/**'
- 'flake.lock'
- '.gitignore'
- 'Makefile'
- 'LICENSE'
- 'NEWS.md'
env:
_R_CHECK_FORCE_SUGGESTS_: "true"
jobs:
coverage:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: eddelbuettel/github-actions/r-ci@master
- name: Dependencies
run: ./run.sh install_all
- name: Test coverage
run: |
cov <- covr::package_coverage(
quiet = FALSE,
clean = FALSE,
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
covr::to_cobertura(cov)
shell: Rscript {0}
- uses: codecov/codecov-action@v5
with:
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
files: ./cobertura.xml
plugins: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}
- 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