From c5507fd917b9ae76188b8c136659a1d3b62ad887 Mon Sep 17 00:00:00 2001 From: Erwan Demairy Date: Thu, 16 Mar 2023 11:28:21 +0100 Subject: [PATCH] adding celeba dataset. --- scripts/run_integration_tests.sh | 6 ++++-- tests/datasets/celeba.json | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 tests/datasets/celeba.json diff --git a/scripts/run_integration_tests.sh b/scripts/run_integration_tests.sh index 00949b6d7..b7ca0cdc4 100755 --- a/scripts/run_integration_tests.sh +++ b/scripts/run_integration_tests.sh @@ -8,9 +8,11 @@ exec 3>"$bats_file" # associating a file descriptor with the temp file, so that for notebook in ./notebooks/*.py; do echo "adding ${notebook}" cat <>${bats_file} +bats_require_minimum_version 1.5.0 @test "$(basename ${notebook})" { - run ./scripts/run_integration_test -s ${notebook} \ - -d ./tests/datasets/mnist.json + run -0 ./scripts/run_integration_test -s ${notebook} \ + -d ./tests/datasets/mnist.json \ + -d ./tests/datasets/celeba.json >&3 } EOF done diff --git a/tests/datasets/celeba.json b/tests/datasets/celeba.json new file mode 100644 index 000000000..4a0ca0faf --- /dev/null +++ b/tests/datasets/celeba.json @@ -0,0 +1,7 @@ +{ + "name": "celeba", + "description": "celeba DATASET", + "tags": "#celeba,#dataset", + "data_type": "images", + "path": "$HOME/Data/fedbiomed/celeba" +}