-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format C++ code with clang format #728
Open
ChristineStawitz-NOAA
wants to merge
9
commits into
main
Choose a base branch
from
format-c++-code
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ChristineStawitz-NOAA
force-pushed
the
format-c++-code
branch
from
January 17, 2025 14:51
aed2175
to
d8f14b3
Compare
Instructions for code reviewerHello reviewer, thanks for taking the time to review this PR!
Checklist
|
* update the DESCRIPTION file and set Config/testthat/parallel to false. This addresses the GHA run-time issue. * skip parallel tests when running covr::package_coverage(), as these tests don't contribute to increasing code coverage and are redundant due to the reuse of wrapper functions. Integration tests are sufficient for coverage calculation. * update GHA build triggers. Co-authored-by: Kathryn Doering <[email protected]>
Now that the fix to allcontributors is in. Thanks @iantaylor-NOAA Changes commit message to "chore: Updates contributors" to add a descriptor and make the tense present. PR on dev rather than main, which main is the default and nothing was declared. But we don't want any PR to main. Updates to use v4 of actions and v7 of create-pull-request
fix(GHA): Updates GHA build triggers * update to v4 of upload-artifact gha * fix(clang-format): v18 of workflow; allows for the newest version of clang-format to always be used by removing the clang-format version specification. This might be causing the issues with clang-format reordering the libraries and things crashing on the R side when the package is tested. * refactor(build-doxygen): Uses one file with an if statement to know if the doxygen workflow should deploy after building now that it is built on changes to both dev and main. * fix(call-calc-coverage): Ignores paths on push and PR; it was ignoring paths just on workflow dispatch. Now the ignore calls are there for both PR and pushes. * Adds dependabot.yml file to update GitHub actions * Removes tags as trigger in package down * Formats the GitHub action yml files consistently; moves summary above name: and arrange on in alphabetical order, as well as branch names and files are now in order too. This standardizes the way that the files are written. References: * https://kevsoft.net/2020/06/10/running-github-action-steps-and-jobs-only-on-push-to-master.html * https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions Co-authored-by: Bai-Li-NOAA <[email protected]> Co-authored-by: kellijohnson-NOAA <[email protected]>
results <- styler::style_pkg() which uses 4 spaces but it will be okay until it adopts the new new rules.
ChristineStawitz-NOAA
force-pushed
the
format-c++-code
branch
from
January 17, 2025 15:12
d8f14b3
to
f667ff0
Compare
ChristineStawitz-NOAA
force-pushed
the
format-c++-code
branch
from
January 22, 2025 21:28
f667ff0
to
7d8793b
Compare
* update tests to use FIMS_dmultinom for length comps * remove TODO comments
ChristineStawitz-NOAA
force-pushed
the
format-c++-code
branch
from
January 29, 2025 20:07
7d8793b
to
a58d871
Compare
ChristineStawitz-NOAA
force-pushed
the
format-c++-code
branch
from
January 29, 2025 20:25
a58d871
to
926cbb4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Auto-generated by [run-clang-format.yml][1]
[1]: https://github.com/NOAA-FIMS/FIMS/blob/main/.github/workflows/run-clang-format.yml