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

Version Path
boring_generators-0.15.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.14.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.13.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.12.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.11.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.10.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.9.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.8.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.7.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.6.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.5.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt
boring_generators-0.4.0 lib/generators/boring/ci/circleci/install/templates/config.sql.yml.tt