Skip to content

Migrate to Catch v3.x#218

Merged
offa merged 3 commits intomattgodbolt:masterfrom
offa:catch3
Dec 12, 2025
Merged

Migrate to Catch v3.x#218
offa merged 3 commits intomattgodbolt:masterfrom
offa:catch3

Conversation

@offa
Copy link
Collaborator

@offa offa commented Oct 23, 2025

There isn't much change on the code side, but Catch 3 is no longer header-only; it is now a static library.

@offa offa linked an issue Oct 23, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.36%. Comparing base (fb67abe) to head (f3b7b2c).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
+ Coverage   33.99%   34.36%   +0.36%     
==========================================
  Files          52       50       -2     
  Lines        2271     2267       -4     
  Branches      336      340       +4     
==========================================
+ Hits          772      779       +7     
+ Misses       1419     1408      -11     
  Partials       80       80              

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

- name: Build
run: |
cmake . -Bbuild
cmake . -Bbuild -GNinja
Copy link
Collaborator Author

@offa offa Oct 23, 2025

Choose a reason for hiding this comment

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

Not strictly related to this topic, but I forgot this for codeql in the previous PR. 🙈

@offa offa requested a review from mattgodbolt October 28, 2025 19:20
@offa
Copy link
Collaborator Author

offa commented Dec 11, 2025

@mattgodbolt could you have a final look over the PR?

Copy link
Owner

@mattgodbolt mattgodbolt left a comment

Choose a reason for hiding this comment

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

Thank you @offa !

target_include_directories(Catch INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/catch")
Include(FetchContent)

FetchContent_Declare(
Copy link
Owner

Choose a reason for hiding this comment

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

❤️

@offa offa merged commit 4ccb36c into mattgodbolt:master Dec 12, 2025
24 checks passed
@offa offa deleted the catch3 branch December 12, 2025 13:44
@offa
Copy link
Collaborator Author

offa commented Dec 12, 2025

Now there are Debian repo issues – I'm on it …

Update

Fixed by rerun 🤷

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.

Test migration to Catch 3.x

2 participants

Comments