Skip to content

Commit

Permalink
Update test run with empty old CoronaCentral release
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelever committed Jul 12, 2023
1 parent 9d01541 commit b0fecd1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion run_test.sh
Expand Up @@ -14,7 +14,13 @@ cp pipeline/*.json testing_dir
cp -r pipeline/predefined testing_dir

# Copy the small test dataset into the data directory
cp test_documents.json testing_dir/data/alldocuments.json
gzip -c test_documents.json > testing_dir/data/alldocuments.json.gz

# Set up a dummy empty old release of CoronaCentral
rm -fr last_release
mkdir last_release
echo '[]' | gzip > last_release/coronacentral.json.gz
echo '{"pubmed_ids":[], "pubmed_files":[]}' | gzip > last_release/process_record.json.gz

# Move into the directory
cd testing_dir
Expand Down

0 comments on commit b0fecd1

Please sign in to comment.