Sha256: 64d9aaab49eec48bf74a3cdfd10dc5705d44855060406211b81e7af09afbe8b8

Contents?: true

Size: 1.81 KB

Versions: 1

Compression:

Stored size: 1.81 KB

Contents

version: 2.1
orbs:
  # See https://circleci.com/developer/orbs/orb/circleci/ruby
  ruby: circleci/ruby@1.1.2
jobs:                # keyword
  test:              # my name for the job
    parameters:      # keyword
      ruby-version:  # my parameter name
        type: string # type is a keyword
    docker:          # keyword
      - image: cimg/base:stable
    steps:                                       # keyword
      - checkout                                 # magic name
      - ruby/install:                            # ruby/ is from the orb name, install is a command in that orb
          version: << parameters.ruby-version >> # magic nonsense for param subst
      - run:
          command: "bin/setup"
      - run:
          name: "Create the test results directory because you can't just store_test_results with a file and if you do you do not get any sort of error because wtf is with this platform?"
          command: mkdir -p /tmp/test-results
      - run:
          command: bin/ci /tmp/test-results/rspec_results.xml
      - store_test_results:                      # store_test_results is magic from circle
          path: /tmp/test-results                # path is a param to store_test_results and it must be a directory not a file
      - store_artifacts:                         # store_artifacts is magic from circle
          path: /tmp/test-results                # path is the param to store_artifacts
workflows:              # keyword
  all-rubies:           # my name for the workflow
    jobs:               # keyword
      - test:           # my name for the job
          matrix:       # keyword
            parameters: # keyword
              # All rubies being maintained per this page:
              # https://www.ruby-lang.org/en/downloads/branches/
              ruby-version: [ "2.5", "2.6", "2.7", "3.0" ]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
with_clues-1.0.0 .circleci/config.yml