Skip to content

Commit

Permalink
CI updated for GaNDLF (#951)
Browse files Browse the repository at this point in the history
* updated test command to prepare data for ci

* Delete .github/workflows/fets-challenge.yml

* renamed file
  • Loading branch information
sarthakpati authored May 21, 2024
1 parent 6d8a219 commit 5657a59
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
pip uninstall onnx -y
cat ./GANDLF/version.py
echo "Download data and Split CSVs into training and validation"
python -c "from testing.test_full import test_generic_download_data, test_generic_constructTrainingCSV; test_generic_download_data(); test_generic_constructTrainingCSV()"
# python -c "from testing.test_full import test_generic_download_data, test_generic_constructTrainingCSV; test_generic_download_data(); test_generic_constructTrainingCSV()"
pytest --cov=. --cov-report=xml -k "prepare_data_for_ci"
head -n 1 testing/data/train_2d_rad_segmentation.csv > /home/runner/work/openfl/openfl/valid.csv
tail -n +9 testing/data/train_2d_rad_segmentation.csv >> /home/runner/work/openfl/openfl/valid.csv
head -n 8 testing/data/train_2d_rad_segmentation.csv > /home/runner/work/openfl/openfl/train.csv
Expand Down

0 comments on commit 5657a59

Please sign in to comment.