Skip to content

Commit

Permalink
fetch-and-ingest: Explicitly test FETCH_FROM_DATABASE
Browse files Browse the repository at this point in the history
Prompted by post-merge review
#440 (comment)

Instead of running `true` and `false` programs, explicitly test
that `FETCH_FROM_DATABASE` is true.
  • Loading branch information
joverlee521 committed Apr 19, 2024
1 parent 512e2ea commit 6abb9a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fetch-and-ingest-genbank-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: |
config="--config"
if $FETCH_FROM_DATABASE; then
if [[ "$FETCH_FROM_DATABASE" == true ]]; then
config+=" fetch_from_database=True"
else
config+=" fetch_from_database=False"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fetch-and-ingest-gisaid-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: |
config="--config"
if $FETCH_FROM_DATABASE; then
if [[ "$FETCH_FROM_DATABASE" == true ]]; then
config+=" fetch_from_database=True"
else
config+=" fetch_from_database=False"
Expand Down

0 comments on commit 6abb9a9

Please sign in to comment.