Update precision FDA link #33
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
name: Run tests | |
on: | |
push: | |
branches: [dev, main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get -y -qq upgrade | |
sudo apt-get -y -qq install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev cmake libblas-dev liblapack-dev libopenmpi-dev libboost-dev libboost-program-options-dev libproj-dev libtet1.5-dev zlib1g-dev gzip python3-pip fftw3 vtk7 libvtk7-dev libomp5 libomp-dev qtbase5-dev | |
python -m pip install --upgrade pip | |
pip install -r ./requirements.txt | |
- name: Build breastGeneration | |
run: | | |
rm -rf ./Victre/generation/build | |
mkdir ./Victre/generation/build | |
(cd ./Victre/generation/build && cmake ..) | |
(cd ./Victre/generation/build && make) | |
- name: Build breastCompression | |
run: | | |
rm -rf ./Victre/compression/build | |
mkdir ./Victre/compression/build | |
(cd ./Victre/compression/build && cmake ..) | |
(cd ./Victre/compression/build && make) | |
- name: Build breastMass | |
run: | | |
rm -rf ./Victre/breastMass/build | |
mkdir ./Victre/breastMass/build | |
(cd ./Victre/breastMass/build && cmake ..) | |
(cd ./Victre/breastMass/build && make) | |
- name: Test with unittest | |
# continue-on-error: true | |
run: | | |
python -m unittest discover -s ./test -p 'test_*.py' | |
# - uses: actions/upload-artifact@v1 | |
# with: | |
# name: results_generation | |
# path: results_generation/ | |
# - uses: actions/upload-artifact@v1 | |
# with: | |
# name: results_insert | |
# path: results_insert/ | |
# - uses: actions/upload-artifact@v1 | |
# with: | |
# name: results_segmentation | |
# path: results_segmentation/ |