diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 2b67b37..327e80f 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -36,11 +36,7 @@ jobs: pip install pytest omegaconf - name: Get test data from OSF run: | - mkdir -p data/dataset_2_submissions tests/data/dataset_2_submissions tests/results - wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/dataset_2_submissions/test_submission_0_n8.pt?download=true -O tests/data/dataset_2_submissions/test_submission_0_n8.pt - wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/test_maps_gt_flat_10.pt?download=true -O tests/data/test_maps_gt_flat_10.pt - wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/test_metadata_10.csv?download=true -O tests/data/test_metadata_10.csv - wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/mask_dilated_wide_224x224.mrc?download=true -O data/mask_dilated_wide_224x224.mrc + sh tests/scripts/fetch_test_data.sh - name: Test with pytest run: | pytest tests/test_map_to_map.py