Skip to content

fail some build steps if changed or unversioned files exist at the end / several related cleanups and adjustments - #6787

Merged
firewave merged 12 commits into
cppcheck-opensource:mainfrom
firewave:uknown-files
Dec 15, 2024
Merged

fail some build steps if changed or unversioned files exist at the end / several related cleanups and adjustments#6787
firewave merged 12 commits into
cppcheck-opensource:mainfrom
firewave:uknown-files

Conversation

@firewave

Copy link
Copy Markdown
Collaborator

No description provided.

@firewave

Copy link
Copy Markdown
CollaboratorAuthor

This is to expose tests (or other commands) which generate (and leave) files in the source tree. Files which are being ignored should not fail this.

This should primarily be fixed by using temporary folders. In case this can't be done we need to make sure they are cleaned up - and in some cases we might also need to clean previously existing files beforehand.

@firewavefirewave changed the title CI-unixish.yml: fail build step if unversioned files exists at the endCI-unixish.yml: fail build step if unversioned files exist at the endSep 9, 2024
@firewave

This comment was marked as resolved.

@firewave

Copy link
Copy Markdown
CollaboratorAuthor
HEAD detached at pull/6787/merge
Untracked files:
(use "git add <file>..." to include in what will be committed)
.ccache/
addons/test/cppcheck-addon-ctu-file-list
cmake.output.signal/
cppcheck-addon-ctu-file-list
test-signalhandler
test-stacktrace
test/cli/cppcheck-addon-ctu-file-list
test/cli/helloworld/cppcheck-addon-ctu-file-list
test/cli/helloworld/test.cppcheck
test/cli/proj2/test.cppcheck
test/cli/test.cppcheck
nothing added to commit but untracked files present (use "git add" to track)

@firewavefirewave changed the title CI-unixish.yml: fail build step if unversioned files exist at the endCI-unixish.yml: fail build step if changed and unversioned files exist at the endOct 30, 2024
@firewavefirewave changed the title CI-unixish.yml: fail build step if changed and unversioned files exist at the endCI-unixish.yml: fail build step if changed or unversioned files exist at the endOct 30, 2024
@firewavefirewave changed the title CI-unixish.yml: fail build step if changed or unversioned files exist at the endCI-unixish.yml: fail build step if changed or unversioned files exist at the end / several related cleanups and adjustmentsDec 2, 2024
@firewavefirewave changed the title CI-unixish.yml: fail build step if changed or unversioned files exist at the end / several related cleanups and adjustmentsfail some build steps if changed or unversioned files exist at the end / several related cleanups and adjustmentsDec 2, 2024
@firewave
firewaveforce-pushed the uknown-files branch 3 times, most recently from 789f711 to 2c5873eCompareDecember 2, 2024 15:12
@firewave
firewaveforce-pushed the uknown-files branch 2 times, most recently from 035f2ae to d35a9bcCompareDecember 11, 2024 19:03
@firewave
firewave marked this pull request as ready for review December 11, 2024 19:03
@firewave
firewaveforce-pushed the uknown-files branch 2 times, most recently from 2c0a49f to 0cc1a98CompareDecember 13, 2024 11:44
@firewave
firewave merged commit 1093382 into cppcheck-opensource:mainDec 15, 2024
@firewave
firewave deleted the uknown-files branch December 15, 2024 18:44
Sign up for freeto 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

@firewave@danmar