Skip to content

Commit e4619fc

Browse files
committed
make changes based on suggestions
1 parent 452f578 commit e4619fc

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.github/workflows/upload-to-zoltar.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
# Tell bash shell to report errors and exit
4+
set -e
5+
6+
# Automate upload all new forecast to Zoltar
7+
python3 ./code/zoltar_scripts/upload_covid19_forecasts_to_zoltar.py
8+
echo "UPLOAD TO ZOLTAR SUCCESSFUL"

.github/workflows/upload_zoltar_master.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
set -e
33

44
# Re-validate data before uploading
5-
bash ./travis/validate-data.sh
5+
bash ./.github/workflows/validate-data.sh
66

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

1111
# Replace the validated_files.csv with locally_validated_files.csv at every build except PRs
1212
echo "replacing validated files"

.github/workflows/validate-data.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
# test covid forecast submission formatting
4+
echo "TESTING SUBMISSIONS..."
5+
python3 code/validation/test_formatting.py

0 commit comments

Comments
 (0)