denny/ShinyCMS-ruby

View on GitHub
tools/parallel-rspec-create-databases

Summary

Maintainability
Test Coverage
# ShinyCMS ~ https://shinycms.org
#
# Copyright 2009-2024 Denny de la Haye ~ https://denny.me
#
# ShinyCMS is free software; you can redistribute it and/or modify it under the terms of the GPL (version 2 or later)

# This script creates the databases used by the parallel_tests gem
#
# https://github.com/grosser/parallel_tests#setup-environment-from-scratch-create-db-and-loads-schema-useful-for-ci

RAILS_ENV=test PARALLEL_TEST_FIRST_IS_1=true rails parallel:setup