Skip to content

Commit cb566a9

Browse files
committed
add doctest
Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
1 parent 9fe1779 commit cb566a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/sync-headers.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,26 @@ jobs:
4444
- name: Install brew
4545
run: |
4646
brew update
47-
brew install nlohmann-json boost eigen msgpack-cxx
47+
brew install nlohmann-json boost eigen msgpack-cxx doctest
4848
4949
- name: copy headers
5050
run: |
5151
rm -rf src/pgm_build_dependencies/nlohmann_json/*
5252
rm -rf src/pgm_build_dependencies/boost/*
5353
rm -rf src/pgm_build_dependencies/eigen/*
5454
rm -rf src/pgm_build_dependencies/msgpack_cxx/*
55+
rm -rf src/pgm_build_dependencies/doctest/*
5556
cp -r /home/linuxbrew/.linuxbrew/Cellar/nlohmann-json/*/* src/pgm_build_dependencies/nlohmann_json/
5657
cp -r /home/linuxbrew/.linuxbrew/Cellar/boost/*/* src/pgm_build_dependencies/boost/
5758
cp -r /home/linuxbrew/.linuxbrew/Cellar/eigen/*/* src/pgm_build_dependencies/eigen/
5859
cp -r /home/linuxbrew/.linuxbrew/Cellar/msgpack-cxx/*/* src/pgm_build_dependencies/msgpack_cxx/
60+
cp -r /home/linuxbrew/.linuxbrew/Cellar/doctest/*/* src/pgm_build_dependencies/doctest/
5961
find src/ \( -type f ! -exec grep -Iq . {} \; -o -type l \) -delete
6062
ls src/pgm_build_dependencies/nlohmann_json/
6163
ls src/pgm_build_dependencies/boost/
6264
ls src/pgm_build_dependencies/eigen/
6365
ls src/pgm_build_dependencies/msgpack_cxx/
66+
ls src/pgm_build_dependencies/doctest/
6467
6568
- name: License scan - entire repository
6669
uses: fossology/fossology-action@v1

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-backend = "hatchling.build"
1010
name = "pgm-build-dependencies"
1111
version = "0.1.0"
1212
authors = [
13-
{ name = "Contributors to the Power Grid Model project", email = "powergridmodel@lfenergy.org" }
13+
{ name = "Contributors to the Power Grid Model project", email = "powergridmodel@lfenergy.org" },
1414
]
1515
description = "Repackaging of all the header-only libraries to build Power Grid Model."
1616
readme = "README.md"
@@ -37,3 +37,4 @@ Boost = "pgm_build_dependencies.boost"
3737
Eigen3 = "pgm_build_dependencies.eigen"
3838
nlohmann_json = "pgm_build_dependencies.nlohmann_json"
3939
msgpack-cxx = "pgm_build_dependencies.msgpack_cxx"
40+
doctest = "pgm_build_dependencies.doctest"

0 commit comments

Comments
 (0)