Skip to content

Conversation

@eitsupi
Copy link
Contributor

@eitsupi eitsupi commented Sep 22, 2025

Related to #1517

@eitsupi
Copy link
Contributor Author

eitsupi commented Sep 22, 2025

The commit 1d9cba2 is on top of version 1.3.3, and we can confirm that the tests fails as expected.

@codecov-commenter
Copy link

codecov-commenter commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.38%. Comparing base (5c88c6f) to head (629c26c).
⚠️ Report is 2607 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1586       +/-   ##
===========================================
- Coverage   63.61%   53.38%   -10.24%     
===========================================
  Files         123      151       +28     
  Lines        5266    10318     +5052     
===========================================
+ Hits         3350     5508     +2158     
- Misses       1916     4810     +2894     

☔ 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.

Copy link

@cboettig cboettig left a comment

Choose a reason for hiding this comment

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

💜 much appreciated!

}

# Skip on CRAN, but run on R-universe
skip_on_cran_except_r_universe <- function() {

Choose a reason for hiding this comment

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

Nice! I didn't realize R-Universe testing doesn't set NOT_CRAN though thinking about it I guess this should have been intuitive. Nice work with the MY_UNIVERSE flag.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, R-universe intentionally provides checks similar to CRAN, so it should only be possible to detect by this environment variable.

Some Rust-based packages I manage detect this environment variable and download binaries from external sources that are not permitted by CRAN.
https://github.com/PRQL/prqlc-r/blob/0cc594f157d64e52905dfa60d5fa10c857f6a4b1/configure#L8-L9

skip_on_dev_version()
skip_on_cran_except_r_universe()

expect_no_error(sql("INSTALL icu"))

Choose a reason for hiding this comment

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

This is perfect, thanks much!

@krlmlr krlmlr merged commit 93305d0 into duckdb:main Oct 1, 2025
17 of 19 checks passed
@krlmlr
Copy link
Collaborator

krlmlr commented Oct 1, 2025

Thanks!

@eitsupi eitsupi deleted the ext-test branch October 1, 2025 09:15
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.

4 participants