Skip to content

Use CMake presets to set clazy/clang-tidy#75

Merged
dantti merged 1 commit intomasterfrom
dantti/ci_improve_nightly
May 19, 2025
Merged

Use CMake presets to set clazy/clang-tidy#75
dantti merged 1 commit intomasterfrom
dantti/ci_improve_nightly

Conversation

@dantti
Copy link
Member

@dantti dantti commented May 14, 2025

Add cppcheck target and call it on GitHub

Checks are non fatal atm, this patch includes
some fixes but there are too many issues to be
fixed by this.

@dantti dantti force-pushed the dantti/ci_improve_nightly branch 10 times, most recently from 9caec31 to ff57a9c Compare May 14, 2025 15:20
Add cppcheck target and call it on GitHub

Checks are non fatal atm, this patch includes
some fixes but there are too many issues to be
fixed by this.

Fixed some unit tests
@dantti dantti force-pushed the dantti/ci_improve_nightly branch from ff57a9c to c65d27b Compare May 14, 2025 16:14
max = QPointF(values.size() - 1, -1e9);
setRowCount(values.size());
setColumnCount(1);
setRowCount(values.size());
Copy link
Contributor

Choose a reason for hiding this comment

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

is this cppcheck related or just cosmetic ?
I don't care much since it's in a test, but curious

Copy link
Member Author

Choose a reason for hiding this comment

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

This is what cause the tests to crash, setColumnCount() emitted a headerChanged signal, which triggered a code to check first and last indexes but it received the lastColumn with value of 4, likely garbage or default data, but the model wasn't populated nor had those columns...

@dantti dantti merged commit a09c953 into master May 19, 2025
8 checks passed
@dantti dantti deleted the dantti/ci_improve_nightly branch May 19, 2025 16:03
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.

2 participants

Comments