Skip to content

Conversation

@suhaani-agarwal
Copy link
Contributor

Fixes #254

@tdhock
Copy link
Collaborator

tdhock commented Oct 23, 2025

https://app.codecov.io/github/animint/animint2/commit/d4edb31a1006db559fcebcc95197c4b52269f11d says There is an error processing the coverage reports

https://github.com/animint/animint2/actions/runs/18722037868/job/53399754297?pr=260 says

[2025-10-22T16:22:06.870Z] ['info'] Detected GitHub Actions as the CI provider.
[2025-10-22T16:22:07.198Z] ['info'] ->  Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0

@codecov
Copy link

codecov bot commented Oct 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.37%. Comparing base (edfa93f) to head (1620d93).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   72.73%   77.37%   +4.63%     
==========================================
  Files         164      164              
  Lines        8792     9355     +563     
  Branches        0      562     +562     
==========================================
+ Hits         6395     7238     +843     
+ Misses       2397     2117     -280     
Flag Coverage Δ
javascript ?
r ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@suhaani-agarwal suhaani-agarwal marked this pull request as ready for review October 26, 2025 09:15
Comment on lines +18 to +20
- name: install and update texlive
run: /usr/bin/sudo DEBIAN_FRONTEND=noninteractive apt update -y -qq
- run: /usr/bin/sudo DEBIAN_FRONTEND=noninteractive apt install tidy texlive texlive-fonts-extra -y
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are only required for CRAN checks, not testing, so please remove.

runs-on: ubuntu-latest
name: CRAN checks
env:
TEST_SUITE: CRAN
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be better if this job be moved to a separate file?

Comment on lines 35 to 41
Rscript -e "if (!requireNamespace('covr', quietly=TRUE)) install.packages('covr'); cov <- covr::package_coverage(type='tests', test_files = "tests/testthat.R"); covr::to_cobertura(cov, file='r-coverage.xml')"
- name: Normalize R coverage paths
run: |
if [ -f "r-coverage.xml" ]; then
perl -0777 -pe "s|<sources>.*?</sources>|<sources><source>.</source></sources>|s" -i r-coverage.xml
sed -i 's|\\\\|/|g' r-coverage.xml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can these two please be combined into a single R script?
instead of perl and sed, I think you want gsub() in R?

Copy link
Collaborator

@tdhock tdhock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks very much! Can you please see comments and revise if necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

incorrect codecov failures

3 participants