run-gpth-on-test-data 499 B

123456789101112131415
  1. #!/bin/bash
  2. # I know, this script is kinda boilerplate but it will look nicer in CI
  3. # Go to parent folder
  4. cd "$(dirname "$0")"
  5. cd ../..
  6. echo "Working in parent folder $(pwd)"
  7. # Now, run GPTH on it:
  8. echo "Running GPTH on test data repo"
  9. python3 GooglePhotosTakeoutHelper/google_photos_takeout_helper/__main__.py \
  10. -i "__takeout_helper_test_data__/Google Photos" \
  11. -o "__takeout_helper_test_data__/output"
  12. echo "=========================="
  13. echo "Now you can go to GPTH folder and run pytest :)"