Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
e4344df
"" -> false
ryuwd Jan 17, 2023
43c93cc
provide environment-name
ryuwd Jan 17, 2023
347ad63
use latest root
ryuwd Jan 17, 2023
8a1a4ef
Merge pull request #168 from ryuwd/patch-9
brownd1978 Jan 17, 2023
5247c4a
Merge branch 'main' into rpath_fix
brownd1978 Jan 17, 2023
c12e6ef
Remove macos
brownd1978 Jan 17, 2023
87eeed7
Merge pull request #167 from brownd1978/rpath_fix
brownd1978 Jan 18, 2023
aeaba19
Protect extension
brownd1978 Jan 24, 2023
1f21740
Merge pull request #169 from brownd1978/epfix
brownd1978 Jan 24, 2023
612dc12
Fix Calo Z
brownd1978 Apr 30, 2023
9114f10
Fix warning
brownd1978 Apr 30, 2023
05ed432
Fix parameter hit warning
brownd1978 Apr 30, 2023
061890a
Merge pull request #170 from KFTrack/phit
brownd1978 May 1, 2023
4a03eb1
Make tests more realistic
brownd1978 May 1, 2023
b2d142d
Loosen tests
brownd1978 May 1, 2023
0f18597
Merge pull request #171 from brownd1978/scihit
brownd1978 May 2, 2023
98abc59
Implementing Constant and Calo DistanceToTime
rm-rf-ryan May 8, 2023
b8fe7d2
Moved t0
rm-rf-ryan Jun 9, 2023
97c2057
Modified constructor arguments
rm-rf-ryan Jun 9, 2023
cf46c01
Rewrote all instances where Line.range() was used
rm-rf-ryan Jun 23, 2023
21a05fb
Redefined Line.timeHint() and renamed the DistanceToTime pointer in Line
rm-rf-ryan Jun 24, 2023
41257a6
Deleted GeometricLine::direction(distance) and renamed Line::timeHint()
rm-rf-ryan Jun 26, 2023
6a5a9ff
Merge pull request #172 from rm-rf-ryan/calotime
brownd1978 Jun 26, 2023
18b4216
Switched the definition of p0 to be the starting point in GeometricLi…
rm-rf-ryan Jul 1, 2023
c70164e
Removed Commented Lines
rm-rf-ryan Jul 1, 2023
2a4e417
Small fixes for macos (clang)
brownd1978 Jul 18, 2023
da72781
Add geometry classes. Basic intersection working
brownd1978 Jul 18, 2023
2db7cd4
Merge pull request #174 from brownd1978/macfixes
brownd1978 Jul 19, 2023
498f062
Add functionality for helices and variance projections, and tests of …
brownd1978 Jul 19, 2023
44a5557
Add axis tests
brownd1978 Jul 20, 2023
5a43e16
Working specializations
brownd1978 Jul 20, 2023
e76001f
Move u direction to plane
brownd1978 Jul 21, 2023
c758cd0
Add planar covariance projection. Add tests
brownd1978 Jul 21, 2023
84642fd
Start implementing piecewise intersection
brownd1978 Jul 21, 2023
a7bc69b
Fix piecewise helix intersection
brownd1978 Jul 23, 2023
d5630be
Create ptraj specializations. Split intersect into several files
brownd1978 Jul 24, 2023
827df08
Test
brownd1978 Jul 24, 2023
e32ed71
Renamed GeometricLine to SensorLine for clarity
rm-rf-ryan Jul 24, 2023
d5fa416
Merge pull request #176 from rm-rf-ryan/sensorline
brownd1978 Jul 25, 2023
fb35d32
Disable coverage test
brownd1978 Jul 25, 2023
88aa249
Resolve conflicts
brownd1978 Jul 25, 2023
ea73c44
Bug fixes and updates
brownd1978 Jul 25, 2023
d27f6dc
Merge pull request #175 from brownd1978/intersect
brownd1978 Jul 27, 2023
6737d72
Add solids
brownd1978 Jul 28, 2023
d4521b2
Merge pull request #177 from brownd1978/solid
brownd1978 Jul 28, 2023
8823c77
Add Frustrum. Refine some algorithms
brownd1978 Jul 31, 2023
d9c9ff7
Update tests
brownd1978 Jul 31, 2023
f5378a4
Merge pull request #178 from brownd1978/solid
brownd1978 Aug 1, 2023
f1ca5ef
Add generic surface intersection
brownd1978 Aug 2, 2023
bd766f1
Fix particletraj intersection
brownd1978 Aug 3, 2023
10b58fc
Standardize intersection interface and remove redundancies
brownd1978 Aug 4, 2023
6a8cc5d
Simplify Intersection
brownd1978 Aug 8, 2023
ce0bf14
Improve piecewise intersection search. Add gap condition
brownd1978 Aug 14, 2023
65d2bce
Remove more superfluous payload
brownd1978 Aug 15, 2023
7533898
Merge pull request #179 from brownd1978/inter
brownd1978 Aug 15, 2023
feeb780
reversed hyperbola
rm-rf-ryan Aug 16, 2023
728868a
Resolved merge conflicts, modified CaloDistanceToTime to be monotonic…
rm-rf-ryan Aug 16, 2023
3b9e188
Modified the implementation of CaloDistanceToTime's speed
rm-rf-ryan Aug 17, 2023
3e2580f
Merge remote-tracking branch 'origin/main' into calotime
rm-rf-ryan Aug 18, 2023
ef2aa63
Revamped Line start and end positions, modified CaloDistanceToTime to…
rm-rf-ryan Aug 18, 2023
cddf5ca
Modified ToyMC to use CaloDistanceToTime
rm-rf-ryan Sep 1, 2023
2871294
enable c++20
kutschke Sep 16, 2023
07abb0f
Merge pull request #181 from kutschke/v2.4.2_build_branch
brownd1978 Sep 17, 2023
b7d8c49
Modified CaloDistanceToTime to incorporate a linear asymptote
rm-rf-ryan Sep 22, 2023
64e5c4d
Merge pull request #180 from rm-rf-ryan/calotime
brownd1978 Sep 23, 2023
bd6d009
CentralHelix charge tied to omega
bonventre Oct 26, 2023
2c8e17d
removed charge
bonventre Oct 28, 2023
03ae0fd
Add back magnitude of charge
bonventre Nov 1, 2023
e27ce45
Keep interface same as loophelix for now
bonventre Nov 3, 2023
0134421
Merge pull request #183 from bonventre/centralhelix
brownd1978 Nov 3, 2023
df3226b
constructor with rhs and defaults triggers rule of 3, declare default…
rlcee Nov 11, 2023
22508de
add deprecated-copy
rlcee Nov 11, 2023
ef26655
fix deprecated-copy-dtor
rlcee Nov 11, 2023
7ed9f58
Merge pull request #184 from rlcee/rule3_231110
brownd1978 Nov 12, 2023
dbed7ab
Add extrapolation function
brownd1978 Dec 28, 2023
8ca2e3b
Changes for extension: working
brownd1978 Dec 28, 2023
de7e8ec
Fix config
brownd1978 Dec 28, 2023
18f2fad
Fix state initialization
brownd1978 Dec 29, 2023
1007c52
Simplify NDOF testing
brownd1978 Dec 29, 2023
d70410b
Minor fix
brownd1978 Dec 29, 2023
cd063af
Rename BField effect for greater clarity
brownd1978 Dec 29, 2023
bfd6c33
Cleanup and fix some implementation bugs: working
brownd1978 Dec 30, 2023
dc7c2f9
go back to c__17
brownd1978 Dec 30, 2023
46b22e8
Update buildtest
brownd1978 Jan 1, 2024
714ac7a
Another try
brownd1978 Jan 1, 2024
7f5deee
Refactor SensorTraj; not yet working
brownd1978 Jan 3, 2024
e77a25a
Revert to old setup.
brownd1978 Jan 3, 2024
7dddb27
Fixes
brownd1978 Jan 3, 2024
4d41587
small fix
brownd1978 Jan 4, 2024
64b47fa
Fix time order problem: still some tension
brownd1978 Jan 4, 2024
be9104d
Fix some bugs
brownd1978 Jan 5, 2024
7a75d78
Add protections against failed fits and CA
brownd1978 Jan 5, 2024
6e2d0a5
Extend the iteration range to include the bounding domains
brownd1978 Jan 10, 2024
ce5774c
Fix some latent bugs
brownd1978 Jan 11, 2024
2ca03b1
Fix range after domain extension
brownd1978 Jan 11, 2024
b2e8a00
Extend domains as part of processEnds
brownd1978 Jan 13, 2024
0797f81
Remove unneeded extra cache. Make names more consistent
brownd1978 Jan 14, 2024
8447e8f
Remove redundant time direction argument in material xing.
brownd1978 Jan 14, 2024
49196f6
Fix comment
brownd1978 Jan 14, 2024
b756622
Fix typo
brownd1978 Jan 14, 2024
d8a1c64
Make previous and next domains explicit for DW
brownd1978 Jan 16, 2024
e6e2af9
Fix extrapolation
brownd1978 Jan 19, 2024
b85fea6
Improve intersection and add some options
brownd1978 Jan 20, 2024
8da66c2
Change Domain storage to shared_ptr
brownd1978 Jan 21, 2024
14e651d
Change DW Domain storage to shared_ptr
brownd1978 Jan 21, 2024
00f0926
Add BField payload to Domain
brownd1978 Jan 21, 2024
d52b7cf
Intermediate commit
brownd1978 Jan 22, 2024
6b4bef9
Clarify DW updating
brownd1978 Jan 22, 2024
c84fc12
also install *.h
rlcee Feb 9, 2024
62a07b5
Fix install
brownd1978 Feb 9, 2024
db76ac1
fix
brownd1978 Feb 9, 2024
19096b2
Merge pull request #186 from rlcee/cm_240209
brownd1978 Feb 9, 2024
3837e3a
Fix conflict
brownd1978 Feb 9, 2024
813a51c
Adjust parameters: still failing
brownd1978 Feb 13, 2024
99fc5b4
Small cleanups. Improve state test
brownd1978 Feb 18, 2024
ab5a3a2
Remove cached mbar value: this MUST be calculated from bnom to insure…
brownd1978 Feb 18, 2024
4050174
Intermediate commit for improvements to DW
brownd1978 Feb 23, 2024
55c1946
Small tweak
brownd1978 Feb 24, 2024
ad9dbcb
Fix dPardB call. Fix dB testing. Add state testing: this is not yet…
brownd1978 Feb 25, 2024
ddaebf7
Clarification and simplification
brownd1978 Feb 26, 2024
ceddeb5
Rename and simplify som variables. Correct implementation of bnom ma…
brownd1978 Feb 26, 2024
c3b7645
Fix LH bnom derivs and update DW
brownd1978 Mar 3, 2024
6557ca2
Use correct Bnom setting in DW append. Move Db testing to BField uni…
brownd1978 Mar 13, 2024
157aefe
Allow synchronizing phi0
brownd1978 Mar 13, 2024
b6e53d9
Turn off gradient bfield testing for now as the MC is broken.
brownd1978 Mar 14, 2024
1c00a2a
Merge pull request #187 from brownd1978/extrap
brownd1978 Mar 16, 2024
80074aa
Add protections. Fix NDOF counting bug
brownd1978 Mar 28, 2024
9c911da
Add protection
brownd1978 Mar 28, 2024
9d33468
Merge pull request #188 from brownd1978/protect
brownd1978 Mar 28, 2024
0f3c8da
setup for spack
brownd1978 Aug 15, 2024
6fc770a
adjust extrapolation interface
brownd1978 Aug 15, 2024
78d2f91
bug fix
brownd1978 Aug 16, 2024
ac8b947
Implement exact appending
brownd1978 Aug 21, 2024
c4c0316
Remove unused variable
brownd1978 Aug 21, 2024
8374472
Add shell
brownd1978 Aug 24, 2024
d835c6c
Propagate PTraj to hits and xings updating
brownd1978 Aug 24, 2024
df0b2af
Use full particle traj TPCA
brownd1978 Aug 24, 2024
9cc5e09
Simplify and clarify material effect interface
brownd1978 Aug 26, 2024
9a692f0
Further standardize material interface
brownd1978 Aug 26, 2024
a9cf049
Move straw examples
brownd1978 Aug 26, 2024
c5b8aac
Further consolidation
brownd1978 Aug 26, 2024
b32dfb1
Setup for cylinder shell testing
brownd1978 Aug 26, 2024
035fde9
Implement extrapolation for materials
brownd1978 Aug 26, 2024
f17d7a9
Start material implementation
brownd1978 Aug 27, 2024
72de4f2
Add time direction argument to intersection
brownd1978 Aug 28, 2024
b2fc249
add direction to intersection test
brownd1978 Aug 29, 2024
bd0b0f0
Fix bugs for reverse intersection
brownd1978 Aug 29, 2024
748d0e7
Allow extrapolating with xings
brownd1978 Aug 31, 2024
0036d46
Name change. Add protection to extrapolate
brownd1978 Aug 31, 2024
f9b16ad
Add test to prevent out-of-range intersections
brownd1978 Sep 1, 2024
1072bcd
Update README.md
brownd1978 Sep 2, 2024
591589b
Merge pull request #192 from brownd1978/extrap
brownd1978 Sep 2, 2024
3d2f562
Remove obsolete conversion
brownd1978 Sep 12, 2024
6a982a2
Simplify interface
brownd1978 Sep 14, 2024
da71b77
Fix bug with unit conversion
brownd1978 Sep 14, 2024
1e0baab
Merge branch 'fixes' into exinter
brownd1978 Sep 14, 2024
47f4701
Merge pull request #193 from brownd1978/exinter
brownd1978 Sep 14, 2024
3fef8b2
Fix sign bug
brownd1978 Sep 18, 2024
3b2e0b7
Merge pull request #194 from brownd1978/qfix
brownd1978 Sep 18, 2024
803bbec
Add non-convergence testing
brownd1978 Sep 19, 2024
51c9f86
Add non-convergence test
brownd1978 Sep 19, 2024
c9659ab
Cleanup
brownd1978 Sep 19, 2024
1ff3309
Merge pull request #195 from brownd1978/conv
brownd1978 Sep 19, 2024
357fb3a
Update KinematicLine intersect and add no bfield extendTraj
bonventre Oct 28, 2024
e67811f
change to validation workflow
bonventre Oct 30, 2024
348e945
Merge pull request #197 from bonventre/klextrap
brownd1978 Oct 30, 2024
c78d206
Fix overlap function
brownd1978 Dec 9, 2024
216a56a
Fix
brownd1978 Dec 9, 2024
cc85dae
fix typo
brownd1978 Dec 10, 2024
dd93caa
Merge branch 'main' into rangefix
brownd1978 Dec 10, 2024
157924f
Merge pull request #198 from brownd1978/rangefix
brownd1978 Dec 10, 2024
f6237a6
Changed matdbinfo.findDetMaterial to return shared pointer instead of…
Jan 8, 2025
61e2329
removed comment
Jan 22, 2025
7530045
added include <memory> for shared pointers
Jan 22, 2025
2b5c12c
added more include memory
Jan 23, 2025
2bd57ef
Merge pull request #199 from Jasonguo9019/jason
brownd1978 Jan 23, 2025
9866f84
Changed _matList map to have keys that are strings instead of string …
Feb 4, 2025
b8e16c5
Merge pull request #200 from Jasonguo9019/jason
brownd1978 Feb 6, 2025
8bb5bf1
Added dRdX to residual
bonventre Mar 18, 2025
3198a24
Moved dRdX to SimpleWireHit
bonventre Mar 21, 2025
3d00942
Merge pull request #201 from bonventre/align
brownd1978 Mar 21, 2025
a256b1a
Modify traj ranges based on domains to avoid rare FP collision
brownd1978 Mar 31, 2025
481b9ff
Use consistent BField value
brownd1978 Mar 31, 2025
648ab33
Merge pull request #202 from brownd1978/rangefix
brownd1978 Mar 31, 2025
d024a09
Address intersection problems
brownd1978 May 5, 2025
912f0c9
Small bug fixes
brownd1978 May 6, 2025
16c380d
several fixes and consolidations. Add reflection test
brownd1978 May 6, 2025
cbec711
Select plane smarter
brownd1978 May 7, 2025
adc8638
Bug fixes
brownd1978 May 7, 2025
6fca97d
Simplify
brownd1978 May 7, 2025
7ee8b2f
Simplify and consolidate; piecewise intersect now steps
brownd1978 May 8, 2025
80b14d1
Several bug fixes
brownd1978 May 11, 2025
5d1e219
small fixes
brownd1978 May 11, 2025
7538611
Remove test that no longer makes sense
brownd1978 May 11, 2025
a9e17c7
Merge pull request #203 from brownd1978/ifix
brownd1978 May 11, 2025
a3df9a4
Fix logic bug
brownd1978 May 14, 2025
f31b264
Merge pull request #204 from brownd1978/ifix2
brownd1978 May 14, 2025
41309fe
implement Track copy-constructor and supporting infrastructure
edcallaghan Aug 6, 2025
5680f31
exchange pure-virtual base clones for runtime exception
edcallaghan Aug 21, 2025
cc48094
explicit-default copy/assignment operators
edcallaghan Aug 22, 2025
3c08daa
explicit override tags
edcallaghan Aug 22, 2025
49342d3
store Track CloneContext member as pointer for smaller base footprint
edcallaghan Aug 26, 2025
eabd7d0
Remove unused bfield map payload
brownd1978 Aug 28, 2025
d7e1168
Simplifications to smooth regrowing seeds
brownd1978 Sep 2, 2025
46ea3db
Merge pull request #206 from brownd1978/nobf
brownd1978 Sep 2, 2025
a4ead80
flat serial copy of trajectory pieces
edcallaghan Sep 2, 2025
4860fa6
Merge branch 'main' of https://github.com/KFTrack/KinKal into track_c…
edcallaghan Sep 2, 2025
4115913
rm bfield usages in DomainWall
edcallaghan Sep 2, 2025
859da66
Bug fixes after restructuring
brownd1978 Sep 3, 2025
d534211
remove unsed value
brownd1978 Sep 3, 2025
33430f4
Track copy-constructor accepts external CloneContext
edcallaghan Sep 3, 2025
9d39fe3
Simplify domain. Fix regrow constructor
brownd1978 Sep 4, 2025
77311ad
Truncate to remove extrapolation from regrown fit
brownd1978 Sep 5, 2025
380feeb
Cleanup
brownd1978 Sep 5, 2025
cbe3b0d
Fix conflicts
brownd1978 Sep 5, 2025
d071e58
fix merge
brownd1978 Sep 5, 2025
28115fb
descriptive accessor names + commentary cleanup
edcallaghan Sep 9, 2025
07025b0
restrict (most) new setters to private access
edcallaghan Sep 9, 2025
05e472a
proper ClosestApproach reinstantation in examples
edcallaghan Sep 9, 2025
3c80e4a
Merge pull request #205 from edcallaghan/track_copy_constructor
brownd1978 Sep 10, 2025
4f603b9
Merge branch 'main' into regrow
brownd1978 Sep 10, 2025
93ea284
Reorder arguments
brownd1978 Sep 12, 2025
1faa5c8
Merge pull request #209 from brownd1978/regrow
brownd1978 Sep 21, 2025
d05ff85
Fix phi0 phase issue
brownd1978 Sep 25, 2025
cb2accd
Improve comments
brownd1978 Sep 29, 2025
68708f8
Simplify piece adding
brownd1978 Oct 3, 2025
ea6b765
Record unbiased residual failure as a flag
brownd1978 Oct 3, 2025
71bd408
Fix comment
brownd1978 Oct 3, 2025
0b5a94a
Protect against regrowing fits without domains. Fix indent
brownd1978 Oct 3, 2025
c72d8cd
Add protection
brownd1978 Oct 3, 2025
609d74d
Merge pull request #210 from brownd1978/regrow
brownd1978 Oct 6, 2025
799395e
Add protection against tracks outside the BField range
brownd1978 Oct 8, 2025
7f167b9
Merge pull request #211 from brownd1978/regrow
brownd1978 Oct 8, 2025
7a9eb15
Add CMake target export language to automatically generate
eflumerf Oct 20, 2025
4a9904b
Fix install directories for cmake files
eflumerf Oct 21, 2025
c81299b
Merge pull request #212 from eflumerf/eflumerf/CMakeExportTargets
brownd1978 Oct 21, 2025
247b63b
cleanup
brownd1978 Oct 27, 2025
00f3896
More cleanup
brownd1978 Oct 27, 2025
bcb0914
more cleanup
brownd1978 Oct 27, 2025
5be71c6
More cleanup
brownd1978 Oct 27, 2025
fa80eff
More cleanup. Add explicit radiation energy loss (dummy for now)
brownd1978 Oct 27, 2025
6acbf84
Partial implementaiton of radiation energy loss; not yet normalized
brownd1978 Oct 30, 2025
3e08f73
Add bounds check
brownd1978 Oct 30, 2025
0a7841b
Merge branch 'boundsfix' into brehms
brownd1978 Oct 30, 2025
6092f23
Working version of radiation energy loss
brownd1978 Oct 30, 2025
3c7405d
Fix longstanding memory issue
brownd1978 Oct 31, 2025
a9504a3
Fix rare range bug
brownd1978 Oct 31, 2025
5993874
Move DetMaterial configuration parameters into a struct
brownd1978 Oct 31, 2025
9d56111
Fix name
brownd1978 Nov 3, 2025
91c77cd
Merge pull request #214 from brownd1978/brehms
brownd1978 Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 41 additions & 49 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,40 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-10.15"]
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.9"]
root-version: ["6.24.6"]
root-version: ["6.30.2"]
build-type: ["Debug", "Release"]

steps:
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
# This will be necessary to update e.g. the version of cmake, cxx-compiler, or clang-tools that is used
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ matrix.root-version }}-${{ matrix.python-version }}
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: strict
use-only-tar-bz2: true
- name: Conda info
run: conda info

- name: Conda/Mamba Install
run: mamba install -c conda-forge cxx-compiler root=${{ matrix.root-version }} cmake # clang-tools

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install conda environment with micromamba
uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: 'latest'
environment-name: "kinkal-test-env"
create-args: >-
python=${{ matrix.python-version }}
root=${{ matrix.root-version }}
cxx-compiler
cmake
condarc : |
channels:
- conda-forge
- defaults
channel-priority: strict
- name: CMake (${{ matrix.build-type }})
run: |
cd ..
ENABLE_COVERAGE=""

if [ "${{ matrix.build-type }}" = "Debug" ]; then
if [ "${{ matrix.os }}" = "macos-10.15" ]; then
ENABLE_COVERAGE="-DCOVERAGE=ON"
fi
fi
# if [ "${{ matrix.build-type }}" = "Debug" ]; then
# if [ "${{ matrix.os }}" = "macos-latest" ]; then
# ENABLE_COVERAGE="-DCOVERAGE=ON"
# fi
#fi

cmake -S KinKal -B KinKal_${{ matrix.build-type }} \
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \
Expand All @@ -71,24 +63,24 @@ jobs:
cd ../KinKal_${{ matrix.build-type }}
env CTEST_OUTPUT_ON_FAILURE=1 make test

- name: Create coverage report
run: |
cd ../KinKal_${{ matrix.build-type }}
mamba install -c conda-forge -y gcovr

make coverage
gcovr -r ../KinKal . --xml -o coverage.xml --gcov-executable "llvm-cov gcov" --exclude-directories Tests

if: ${{ matrix.build-type == 'Debug' && matrix.os == 'macos-10.15' }}

- name: Upload coverage
uses: codecov/codecov-action@v1
with:
files: ../KinKal_${{ matrix.build-type }}/coverage.xml
flags: unittests
name: codecov-umbrella
if: ${{ matrix.build-type == 'Debug' && matrix.os == 'macos-10.15' }}

# - name: Create coverage report
# run: |
# cd ../KinKal_${{ matrix.build-type }}
# mamba install -c conda-forge -y gcovr
#
# make coverage
# gcovr -r ../KinKal . --xml -o coverage.xml --gcov-executable "llvm-cov gcov" --exclude-directories Tests
#
# if: ${{ matrix.build-type == 'Debug' && matrix.os == 'macos-latest' }}
#
# - name: Upload coverage
# uses: codecov/codecov-action@v1
# with:
# files: ../KinKal_${{ matrix.build-type }}/coverage.xml
# flags: unittests
# name: codecov-umbrella
# if: ${{ matrix.build-type == 'Debug' && matrix.os == 'macos-latest' }}
#
# - name: Run clang-tidy
# if: ${{ matrix.build-type == 'Release' && matrix.os == 'ubuntu-latest' }}
# run: |
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ KinKal/UnitTests/Dict.cc
debug/*
*.root
.DS_Store
.vscode
.vscode/*
.*.swp
spack-*
build-*
.spack*
Loading