Sha256: 7095d9a345f87cf378db4f28289dd25894f575ec009d02f3b81e5124c46b6149
Contents?: true
Size: 1.07 KB
Versions: 12
Compression:
Stored size: 1.07 KB
Contents
version: 2.1 orbs: ruby: circleci/ruby@1.1.1 node: circleci/node@2 jobs: test: parallelism: 1 docker: - image: cimg/ruby:<%= @ruby_version %>-node environment: MYSQL_DATABASE: <%= @test_database_name %> environment: BUNDLE_JOBS: "3" BUNDLE_RETRY: "3" RAILS_ENV: test steps: - checkout - run: name: Waiting for MySQL to be ready command: | for i in `seq 1 10`; do nc -z 127.0.0.1 3306 && echo Success && exit 0 echo -n . sleep 1 done echo Failed waiting for MySQL && exit 1 - ruby/install-deps <%- unless @skip_node -%> # Store bundle cache - node/install-packages: pkg-manager: yarn cache-key: "yarn.lock" <%- end -%> - run: name: Database setup command: bundle exec rails db:schema:load --trace - run: name: Run test command: bundle exec rails test workflows: version: 2 test: jobs: - test
Version data entries
12 entries across 12 versions & 1 rubygems