Skip to content

Commit

Permalink
Merge pull request #93 from mamhoff/more-defensive-rake
Browse files Browse the repository at this point in the history
Drop database only if dummy app present
  • Loading branch information
kennyadsl authored Jun 20, 2024
2 parents 4e3ad02 + 5e68fd6 commit d05c524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/test-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ steps:
bin/rails db:environment:set RAILS_ENV=test && \
bin/rails db:drop
# Not all dummy apps have executables
elif [[ -e bin/rake ]]; then
elif [[ -e bin/rake ]] && [[ -d "spec/dummy" ]]; then
bin/rake db:drop
fi
when: always
Expand Down

0 comments on commit d05c524

Please sign in to comment.