Skip to content

Commit

Permalink
make changes based on suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
starkari committed Nov 1, 2022
1 parent 452f578 commit e4619fc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/upload-to-zoltar.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

# Tell bash shell to report errors and exit
set -e

# Automate upload all new forecast to Zoltar
python3 ./code/zoltar_scripts/upload_covid19_forecasts_to_zoltar.py
echo "UPLOAD TO ZOLTAR SUCCESSFUL"
4 changes: 2 additions & 2 deletions .github/workflows/upload_zoltar_master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
set -e

# Re-validate data before uploading
bash ./travis/validate-data.sh
bash ./.github/workflows/validate-data.sh

# Upload to zoltar at every merged pull request
echo "Upload forecasts to Zoltar "
bash ./travis/upload-to-zoltar.sh
bash ./.github/workflows/upload-to-zoltar.sh

# Replace the validated_files.csv with locally_validated_files.csv at every build except PRs
echo "replacing validated files"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/validate-data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

# test covid forecast submission formatting
echo "TESTING SUBMISSIONS..."
python3 code/validation/test_formatting.py

0 comments on commit e4619fc

Please sign in to comment.