Skip to content

Commit

Permalink
create test env config file if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Nov 8, 2024
1 parent a5fdb47 commit 1ef3ad4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/ontoportal
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ test() {
bin/run_api
fi

# create bioportal config file for test env if its not there.
[ -f config/bioportal_config_test.rb ] || cp config/bioportal_config_env.rb.sample config/bioportal_config_test.rb

echo "Running tests..."
echo "Run: API_URL=$api_url bundle exec rails test -v $test_options"

Expand Down

0 comments on commit 1ef3ad4

Please sign in to comment.