forked from SimVascular/svMultiPhysics
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tolerances for cep tests and fix continuous integration issues…
… for Ubuntu (SimVascular#210)
- Loading branch information
1 parent
b28958c
commit 6dd920b
Showing
20 changed files
with
132 additions
and
98 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: macOS 12 | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: macos-12 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install MacOS dependencies | ||
run: | | ||
brew reinstall -v gcc | ||
brew install -v cmake vtk openblas lapack mesa open-mpi qt | ||
brew install lcov | ||
sudo ln -s /usr/local/opt/qt5/mkspecs /usr/local/mkspecs | ||
sudo ln -s /usr/local/opt/qt5/plugins /usr/local/plugins | ||
- name: Build svFSIplus | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DENABLE_COVERAGE=ON -DENABLE_ARRAY_INDEX_CHECKING=ON -DENABLE_UNIT_TEST=ON .. | ||
make -j2 | ||
- name: Install test dependencies | ||
run: | | ||
conda create -n svfsiplus python=3.9 | ||
conda run -n svfsiplus pip install pytest pytest-cov pytest-mock numpy meshio pandas | ||
- name: Run integration tests | ||
run: | | ||
git lfs pull | ||
cd tests | ||
conda run -n svfsiplus pytest -rPv --durations=0 | ||
- name: Run unit tests | ||
run: | | ||
cd build/svFSI-build/Source/svFSI | ||
ctest --verbose |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Ubuntu 20.04 | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
container: msalvad/ubuntu20_vtk9:v1 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build svFSIplus | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DENABLE_COVERAGE=ON -DENABLE_ARRAY_INDEX_CHECKING=ON -DENABLE_UNIT_TEST=ON .. | ||
make -j2 | ||
cd .. | ||
- name: Run integration tests | ||
run: | | ||
git config --global --add safe.directory /__w/svFSIplus/svFSIplus | ||
git lfs pull | ||
cd tests | ||
conda run -n svfsiplus pytest -rPv --durations=0 | ||
- name: Run unit tests | ||
run: | | ||
cd build/svFSI-build/Source/svFSI | ||
ctest --verbose |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Ubuntu 22.04 | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
container: msalvad/ubuntu22_vtk9:v1 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build svFSIplus | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DENABLE_COVERAGE=ON -DENABLE_ARRAY_INDEX_CHECKING=ON -DENABLE_UNIT_TEST=ON .. | ||
make -j2 | ||
cd .. | ||
- name: Run integration tests | ||
run: | | ||
git config --global --add safe.directory /__w/svFSIplus/svFSIplus | ||
git lfs pull | ||
cd tests | ||
conda run -n svfsiplus pytest -rPv --durations=0 | ||
- name: Run unit tests | ||
run: | | ||
cd build/svFSI-build/Source/svFSI | ||
ctest --verbose | ||
- name: Generate code coverage | ||
run: | | ||
cd build/svFSI-build | ||
make coverage | ||
- name: Save coverage report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage_report | ||
path: build/svFSI-build/coverage | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
Git LFS file not shown
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
4 changes: 2 additions & 2 deletions
4
tests/cases/cep/niederer_benchmark_ECGs_quadrature/result_BICG_CN_epicardium_BO_001.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/cases/cep/niederer_benchmark_ECGs_quadrature/result_CG_RK4_myocardium_BO_001.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/cases/cep/niederer_benchmark_ECGs_quadrature/result_GMRES_FE_epicardium_TTP_001.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
tests/cases/cep/niederer_benchmark_ECGs_quadrature/result_GMRES_FE_pfib_AP_001.vtu
Git LFS file not shown
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
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
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
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
Git LFS file not shown
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
Git LFS file not shown
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
Git LFS file not shown
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