-
Notifications
You must be signed in to change notification settings - Fork 25
Catch 2 v3 #78
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
Draft
acgetchell
wants to merge
223
commits into
feature/catch2v3
Choose a base branch
from
develop
base: feature/catch2v3
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.
Draft
Catch 2 v3 #78
Changes from all commits
Commits
Show all changes
223 commits
Select commit
Hold shift + click to select a range
63b796e
(feature) Replace Catch2 with doctest
acgetchell 55fef57
(test) Fix all tests to run on doctest
acgetchell 5f37c32
(fix) Various issues from ASAN
acgetchell 2c96ea2
(test) Use C++20 Mathematical constants
acgetchell 5f70aa7
(test) Fix SonarLint warning
acgetchell 28e9ef9
Merge branch 'feature/doctest' into develop
acgetchell 87c5685
(refactor) Start migrating features for bistellar move
acgetchell e38be2f
(refactor) Ergodic_moves_3 operate on Manifold_3, helpers on Delaunay_3
acgetchell 53ec486
(refactor) Simplify bistellar_flip_really
acgetchell 1abf22b
(test) Update doctest and remove Catch2 references
acgetchell 4ccedc3
(fix) Fix bug identified by PVS Studio
acgetchell 78da939
(fix) clang-tidy warnings
acgetchell 4189c59
(fix) fmt::format strings, update to latest vcpkg
acgetchell 72580ce
(fix) Don't const-qualify functions that return by value
acgetchell 6166dbb
(fix) More formatting and some logic fixes
acgetchell d72e416
(fix) Clang-tidy fixes
acgetchell 139fa8b
(fix) clang-format
acgetchell 48a5f95
(ci) Update to Boost 1.80
acgetchell 19ab7d7
(ci) Update vcpkg
acgetchell 43e175c
(ci)
acgetchell ebab690
(build) Update Slurm script for HPC runs
acgetchell 43b040f
(refactor) Run include-what-you-use
acgetchell 0735296
(fix, ci) Yep, iwyu makes some bad suggestions
acgetchell 94e92ec
(fix) Fix clang-format and iwyu errors
acgetchell 5ccc47d
(ci) Fix CodeCov, update clang on Travis-CI
acgetchell af57547
(ci) Fix Travis-CI
acgetchell f3f9b82
(ci) Fix GitHub Actions, clang-format
acgetchell 09fc500
(refactor) Fix clang-tidy warnings
acgetchell 33530c3
(refactor) More clang-tidy fixes
acgetchell 76e12c2
(refactor) Bi-stellar flip
acgetchell 642772f
(ci, fix, bug) Fix Travis-CI, clang-tidy, and a bug
acgetchell b18b962
(ci) Trying a fix for Travis-CI
acgetchell 14cf635
(ci) Update SonarCloud, GitHub Actions
acgetchell 1ab2038
(doc) Update documentation
acgetchell 130dc1b
(performance) Fix clang-tidy warnings
acgetchell 9f8003b
(refactor) Use c++20 features now supported in all 4 compilers
acgetchell aed36c6
(feature) Visualization via Qt5
acgetchell 650f2ee
(ci) Fix CI build dependencies
acgetchell cbfdffa
(ci) Only build cdt-viewer on macOS
acgetchell cfcba15
(feature) Read file and draw
acgetchell afd790a
(feature) Reading and writing triangulations from files
acgetchell b957b3f
(refactor) Make write_file easier to use
acgetchell 7ae12a9
(refactor, test, docs)
acgetchell f9901d9
(feature) Add functionality to read file from command line
acgetchell a7f567d
(doc) Update documentation prior to merge [skip ci]
acgetchell eae5d01
Merge branch 'feature/qt' into develop
acgetchell bc062dd
(docs) Update documentation
acgetchell cba43ef
(ci, docs)
acgetchell 674d9a1
(ci, doc, fix) Happy New Year!
acgetchell caa27e1
(ci) Remove testing from AppVeyor
acgetchell 11726e0
(ci) Fix AppVeyor caching
acgetchell a4eed8c
(docs, ci) Use new CodeCov uploader
acgetchell ec614dd
(ci) Fix CodeCov uploader [skip ci]
acgetchell 6da59a1
(ci) Don't run vcpkg manifest mode in dev mode [ci skip]
acgetchell b1fcf5e
Merge branch 'feature/new-codecov-uploader' into develop
acgetchell 5ab2ed7
(ci) Fiddling with CMakePresets for new CodeCov uploader [ci skip]
acgetchell ad3ab3c
(ci) Turn off cmake dev errors [skip ci]
acgetchell 7fe8a32
(ci) More CMakePresets fun to fix CodeCov [skip ci]
acgetchell 09b4884
(ci) Fixing weird filesystem errors [ci skip]
acgetchell a97b220
(ci) Build CodeCov with clang [ci skip]
acgetchell 282c154
(ci) Remove options not supported by clang [ci skip]
acgetchell 3ca72bd
(ci) Fix CodeCov upload
acgetchell 9488c11
(ci) Fix Codecov uploader [skip ci]
acgetchell 7c27dc2
(ci) Fix gcc for Codecov uploader [ci skip]
acgetchell ab0a695
(ci) Use gcc-12 and clang-15 for GitHub Actions [ci skip]
acgetchell 5bf7f58
(ci) Explicitly set compiler in setup-gcc and setup-clang [ci skip]
acgetchell ff36f82
(ci) Update to gcc-12 and clang-15
acgetchell ce27bb5
(ci) Fix Travis
acgetchell abbf890
(ci) Revert Travis-CI to clang-14 and gcc-11
acgetchell bfa502c
(ci) Use cmake presets for GitHub Actions
acgetchell 135b7dc
(ci) More GitHub Actions and AppVeyor tuning with CMakePresets.json
acgetchell 6321a8d
(ci) Fix AppVeyor and SonarCloud
acgetchell 0d27d0a
(ci) Fix AppVeyor and SonarCloud, try #2
acgetchell ac4e03e
(ci) AppVeyor #3
acgetchell 5c0385a
(ci) Try to resolve gcov/gcc version mismatch
acgetchell a631798
(ci) Turn off QT in GitHub Actions
acgetchell 0338b74
(ci) Also remove the tests for cdt-viewer [ci skip]
acgetchell 6c0885d
(test) Write a bistellar-flip test harness
acgetchell b4cd264
(ci) Delete build caches
acgetchell 496adc5
(ci) Revert SonarCloud and CodeCov ci script , AppVeyor caching
acgetchell bd41945
(ci) Fix codecov and hopefully SonarCloud coverage
acgetchell 13932ac
(ci) Coverage should work now ...
acgetchell 558e49e
Update packages, debug draw
acgetchell 6fd3941
Update vcpkg
acgetchell 6e00b8a
(fix) Enforce FoliatedTriangulation class invariant
acgetchell 76355e6
(fix) Fix CI errors
acgetchell 21ea2c5
(fix) More clang-format
acgetchell a05eea4
Revert to using CodeCov GitHub Action
acgetchell 6da7e32
Add method to read Delaunay triangulation in the Manifold
acgetchell 1c83943
Fix get_triangulation().get_delaunay calls
acgetchell 319bd7e
(fix) Fix make_triangulation and is_62_movable
acgetchell bbd8555
(ci, fix) Add clang-tidy check, fix README
acgetchell 6e2d8de
(fix) Fixes to CodeCov and clang-tidy
acgetchell 6f306ba
(fix) clang-format, doctests
acgetchell b0efd23
(fix) README, more tests
acgetchell a9a08a1
Remove -Wcomment warnings, use CHECK_EQ, REQUIRE_EQ
acgetchell b0a39bb
(ci) Try new CodeCov GitHub Action
acgetchell 444cc6d
(refactor) Update to Boost 1.82
acgetchell ccdd09d
(ci) Update AppVeyor and CodeCov
acgetchell c458339
(test) Activate certain tests
acgetchell fef1c02
(ci) Update CodeCov and SonarCloud to use gcc-12
acgetchell 30256e6
(ci, refactor) Undo gcc-12 on CodeCov and SonarCloud
acgetchell 5466d0a
Add back default cases and remove Expects and Ensures
acgetchell debe0be
Update vcpkg
acgetchell 303f93a
Update packages
acgetchell 9609bb7
Update vcpkg to commit 5d2a0a9 in workflows and tests
acgetchell 0420b15
Refactor build and test scripts for CI/CD workflows
acgetchell 498dcef
feat: Add test for check_move function
acgetchell 46609b8
Update AppVeyor and Codecov configurations
acgetchell d861cac
Refactor build and test scripts, update dependencies
acgetchell d41deea
Refactor code to use `foliated_triangulations::make_causal_vertices` …
acgetchell e93f8d6
Refactor code for Manifold initialization and mutation
acgetchell 2f7a188
Update GCC and Clang versions in CI configuration
acgetchell 4c43907
Fixed FoliatedTriangulation copy constructor
acgetchell f6bc5a8
Fix macOS build
acgetchell b515f3c
Update vcpkgGitCommitId in workflow files
acgetchell d7a450b
Update vcpkgGitCommitId in workflow files
acgetchell d216edf
Update vcpkgGitCommitId in GitHub workflows
acgetchell 4896058
Update vcpkgGitCommitId in GitHub workflows
acgetchell eb2dd7c
Add get_cell function
acgetchell dd39db6
Add new function
acgetchell 5a09993
Fix AppVeyor
acgetchell 5c6cfe3
Boost 1.83
acgetchell 624b15c
Backed out qt
acgetchell ba55e74
Use a span of Vertex_handles for read-only
acgetchell 0bdf8db
More ranges
acgetchell 280b2e0
Re-added Qt
acgetchell 04866be
feat: Add <chrono> header for time-related functionality
acgetchell a9b7134
Refactor code to remove unused code and add debug log messages
acgetchell bdb5237
Add Linux Clang with pkgx workflow and comment out unsupported std::f…
acgetchell 1e91e2b
Update Linux-clang-pkgx workflow [skip ci]
acgetchell 7f7323d
Start using pkgx on ci
acgetchell dd1dd05
Switch more GitHub Actions to pkgx
acgetchell 5eb1578
Fix GitHub Actions
acgetchell 09d913d
De-cluttering test printouts
acgetchell 36785a7
Use C++23 standard
acgetchell 170e065
Use c++23 std::expected
acgetchell a3b4b66
Reset develop back to C++20
acgetchell e138350
Merge remote-tracking branch 'origin/develop' into develop
acgetchell c7ce11d
Revert to C++20
acgetchell 28e4629
feat: Add print_cell function and update print_cells
acgetchell dca7340
feat: Add cache directory to AppVeyor configuration
acgetchell 8443a78
Update clang-format version to 17 and update compiler versions in Tra…
acgetchell a5bb7cd
Remove unused compilers and dependencies in .travis.yml
acgetchell 5ab9ba3
Update before_install script in .travis.yml
acgetchell adb079f
Update Travis CI configuration to use `curl -fsS` instead of `eval "$…
acgetchell c6098d0
Update Travis CI configuration
acgetchell ed905ab
Refactor GitHub workflow files for improved concurrency handling
acgetchell 8605c78
Travis-CI and pkgx don't get along
acgetchell f5d30af
Refactor GitHub Actions workflows to use a dynamic concurrency group
acgetchell e451d33
Update vcpkg, AppVeyor, more ranges
acgetchell 6930537
Apply a bunch of suggested fixes
acgetchell 947ec03
feat: Add Python 3.11 support to macOS workflow
acgetchell e4b163e
feat: Update macOS workflow and MoveCommand class
acgetchell 9a7cca3
Remove unnecessary files and update dependencies in macOS workflow.
acgetchell 77fcb7c
Update macOS and Travis CI configurations
acgetchell d47bd93
Use pkgx to install gcc-13 and clang-16 on Travis-CI
acgetchell 5ee5af8
Travis-CI + pkgx
acgetchell 94947c6
Bog standard install of gcc-13
acgetchell 655286e
Add gcc-12 to the list of required packages in .travis.yml
acgetchell 52fd3ae
Update Travis CI configuration
acgetchell c0c02fd
Update compiler versions in .travis.yml
acgetchell 6cf22dc
Update macOS.yml and .travis.yml
acgetchell 26f2dca
Fix Travis, update GitHub actions
acgetchell 34c1267
Deprecate Doxygen on Travis-CI [skip ci]
acgetchell 86ff224
Still fixing macos on GitHub [skip ci]
acgetchell ea39270
And another python3 error in GHA [skip ci]
acgetchell 9da2499
Yet another python3 update error in GHA [skip ci]
acgetchell 470ff3f
Setup Valgrind on GHA [skip ci]
acgetchell 572fca2
Add Valgrind installation to the workflow
acgetchell 294393f
Fix macOS and Valgrind [ci skip]
acgetchell 9cbc948
Fix Valgrind [ci skip]
acgetchell 3606b8a
Fix known Valgrind/ASAN issue [skip ci]
acgetchell 821f499
Update Valgrind configuration for Clang [ci skip]
acgetchell 5167aa2
Fix Valgrind on clang [ci skip]
acgetchell f6dde57
Revert Valgrind back to g++, at least some tests work [skip ci]
acgetchell 2df42ce
Run Valgrind checks separately [ci skip]
acgetchell effab71
Update vcpkg
acgetchell eb1ee2d
Enable ASAN on GHA [skip ci]
acgetchell aa4fad9
Migrate Sanitizers to GHA [skip ci]
acgetchell 8ef7e8b
Use a repo variable to update vcpkg
acgetchell de41ab3
Add Cppcheck workflow, presets, and build steps [skip ci]
acgetchell 576b135
Update HPC and PVS Studio scripts
acgetchell 17f8302
Update Slurm script
acgetchell 25379e6
Boost 1.84
acgetchell 5812db7
Update vcpkg to fix macOS qt build issue
acgetchell 367c374
Fixing vcpkg build of python on macOS [skip ci]
acgetchell e3b083d
Remaining vcpkg python macOS update fixes [skip ci]
acgetchell 891c1fb
Still need old fixes too [skip ci]
acgetchell ca6b24c
Fix docopt
acgetchell 83cd610
Fix docopt #2
acgetchell fc1ac31
ci: Try clang-18 via pkgx [ci skip]
acgetchell 0dba855
ci: Fix when checks run
acgetchell c9733e4
ci: Update to clang-18
acgetchell 805d5ed
ci, style: clang-format and macOS
acgetchell e00cc47
test: format/fix tests
acgetchell 9217f34
feat: Switch from docopt to boost::program_options
acgetchell f3eb66b
ci, fix: macOS and Linux builds
acgetchell d423ad4
feat: Replace docopt on cdt
acgetchell a339af5
feat: Replace docopt on cdt-viewer
acgetchell 634398d
docs: Update documentation [ci skip]
acgetchell 754094f
ci, fix: Fix fmt::join, update Github actions
acgetchell 6e6e5dd
ci: update GitHub Actions
acgetchell 2dc8945
ci: Update remaining actions
acgetchell 63785d6
fix: MSVC error
acgetchell 771f01d
ci: Check if clang-19 available [skip ci]
acgetchell cc17bc1
ci: Update to clang-19
acgetchell a79eed9
Feature/c++23 (#76)
acgetchell 6d8a435
Feature/fix appveyor (#77)
acgetchell 390fe0e
ci: Fix macOS GitHub Action [skip ci]
acgetchell 0f64010
ci: Coderabbit and macOS update
acgetchell 2cc5d54
Improves move application and validation
acgetchell b6cb71a
ci: Update gcc [skip ci]
acgetchell a3c7f14
Improves Bistellar flip reliability
acgetchell 51cdad9
ci: Updates CI workflows for newer tool versions
acgetchell f16db42
ci: Configures Dependabot for GitHub Actions [skip ci]
acgetchell 0793941
Bump jidicula/clang-format-action from 4.13.0 to 4.15.0 (#80)
dependabot[bot] a4b7c10
Bump pkgxdev/setup from 2 to 4 (#79)
dependabot[bot] 8e2f4c9
Create codeql.yml
acgetchell 2f50f24
ci: Remove old CodeQL
acgetchell 511aa8c
Bump codecov/codecov-action from 4 to 5 (#81)
dependabot[bot] 40ddb09
fix: Explicitly use MPFR and GMP and turn off BoostMP
acgetchell 12d3e46
Merge remote-tracking branch 'origin/develop' into develop
acgetchell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
language: en-US | ||
tone_instructions: 'Be constructive and professional. Focus on technical accuracy while maintaining a friendly tone.' | ||
early_access: true | ||
enable_free_tier: true | ||
reviews: | ||
profile: assertive | ||
request_changes_workflow: true | ||
high_level_summary: true | ||
high_level_summary_placeholder: '@coderabbitai summary' | ||
auto_title_placeholder: '@coderabbitai' | ||
review_status: true | ||
commit_status: true | ||
poem: true | ||
collapse_walkthrough: false | ||
sequence_diagrams: true | ||
changed_files_summary: true | ||
labeling_instructions: [] | ||
path_filters: [] | ||
path_instructions: | ||
- path: 'src/**/*.cpp' | ||
instructions: 'Focus on performance, memory management, and RAII principles' | ||
- path: 'include/**/*.hpp' | ||
instructions: 'Focus on design patterns, interfaces, and encapsulation' | ||
- path: 'test/**/*.cpp' | ||
instructions: | | ||
Review the following unit test code written using doctest. Ensure the following: | ||
- Comprehensive test coverage and proper test organization. | ||
- The code adheres to best practices using doctest. | ||
- Descriptive test names are used to clearly convey the intent of each test. | ||
abort_on_close: true | ||
auto_review: | ||
enabled: true | ||
auto_incremental_review: true | ||
ignore_title_keywords: [] | ||
labels: [] | ||
drafts: true | ||
base_branches: [] | ||
tools: | ||
shellcheck: | ||
enabled: true | ||
markdownlint: | ||
enabled: true | ||
github-checks: | ||
enabled: true | ||
timeout_ms: 90000 | ||
gitleaks: | ||
enabled: true | ||
cppcheck: | ||
enabled: true | ||
languagetool: | ||
enabled: true | ||
enabled_only: false | ||
level: default | ||
hadolint: | ||
enabled: true | ||
yamllint: | ||
enabled: true | ||
actionlint: | ||
enabled: true | ||
pmd: | ||
enabled: true | ||
semgrep: | ||
enabled: true | ||
chat: | ||
auto_reply: true | ||
knowledge_base: | ||
opt_out: false | ||
learnings: | ||
scope: auto | ||
issues: | ||
scope: auto | ||
jira: | ||
project_keys: [] | ||
linear: | ||
team_keys: [] | ||
pull_requests: | ||
scope: auto |
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Address Sanitizer | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- name: Setup | ||
run: | | ||
sudo apt update | ||
sudo apt-get install build-essential automake autoconf autoconf-archive texinfo libtool-bin yasm ninja-build ccache | ||
|
||
- name: Setup Clang | ||
uses: pkgxdev/setup@v4 | ||
with: | ||
+: clang@20 | ||
|
||
- run: clang --version | ||
|
||
- name: Restore artifacts or setup vcpkg | ||
uses: lukka/run-vcpkg@v11 | ||
with: | ||
vcpkgGitCommitId: ${{ vars.VCPKG_GIT_COMMIT_ID }} | ||
|
||
- name: Configure | ||
run: cmake --preset=asan | ||
|
||
- name: Build | ||
run: cmake --build build -j 2 | ||
|
||
- name: Run tests | ||
working-directory: build | ||
continue-on-error: true | ||
run: ctest -VV | ||
|
||
- name: Run ASAN on initialize | ||
working-directory: build/src | ||
continue-on-error: true | ||
run: ./initialize --s -n32000 -t11 -o | ||
|
||
- name: Run ASAN on cdt-opt | ||
working-directory: build/src | ||
continue-on-error: true | ||
run: ./cdt-opt | ||
|
||
- name: Run ASAN on cdt | ||
working-directory: build/src | ||
continue-on-error: true | ||
run: ./cdt --s -n64 -t3 -a.6 -k1.1 -l.1 -p10 | ||
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI about 7 hours ago
To fix the issue, add a
permissions
block to the workflow file. This block should specify the least privileges required for the workflow to function. Based on the workflow's steps, the minimal required permission iscontents: read
, as the workflow only reads repository contents and does not perform any write operations.The
permissions
block can be added at the root level of the workflow file to apply to all jobs within the workflow. This ensures consistency and avoids redundancy.