Skip to content

Commit

Permalink
Fix failing CircleCI tests (#466)
Browse files Browse the repository at this point in the history
Exiftool URL started returning a 404 so switch to URL of newer version.
Make MapQuest key dynamic and store in CircleCI environment.
  • Loading branch information
jmathai authored Apr 1, 2024
1 parent 76ad823 commit 317a50b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
pip install -r elodie/plugins/googlephotos/requirements.txt
pip install coveralls
sed -i.bak 's/debug = False/debug = True/g' elodie/constants.py
wget https://exiftool.org/Image-ExifTool-12.50.tar.gz
gzip -dc Image-ExifTool-12.50.tar.gz | tar -xf -
cd Image-ExifTool-12.50
wget https://exiftool.org/Image-ExifTool-12.81.tar.gz
gzip -dc Image-ExifTool-12.81.tar.gz | tar -xf -
cd Image-ExifTool-12.81
perl Makefile.PL
sudo make install
echo "which exiftool command"
Expand Down
2 changes: 1 addition & 1 deletion elodie/tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
config_contents = f.read()

# set the mapquest key in the temporary config file and write it to the temporary application directory
config_contents = config_contents.replace('your-api-key-goes-here', 'x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s')
config_contents = config_contents.replace('your-api-key-goes-here', os.environ['MAPQUEST_KEY'])
with open(temporary_config_file, 'w+') as f:
f.write(config_contents)

Expand Down

0 comments on commit 317a50b

Please sign in to comment.