Sha256: c116238d19ebf7c94bf695d5e54c1d81a40f391a865e3ecbd75ef44cb5d2e88e

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

---
version: 2.1
orbs:
  samvera: samvera/circleci-orb@1.0

jobs:
 test:
    parameters:
      ruby_version:
        type: string
      bundler_version:
        type: string
        default: 2.3.10

    executor:
      name: 'samvera/ruby'
      ruby_version: << parameters.ruby_version >>

    environment:
      COVERAGE: true

    working_directory: ~/iiif_manifest

    steps:
      - samvera/cached_checkout
      - samvera/bundle_for_gem:
          ruby_version: << parameters.ruby_version >>
          bundler_version: << parameters.bundler_version >>
          project: iiif_manifest
      - samvera/rubocop
      - samvera/parallel_rspec

workflows:
  version: 2
  ci:
    jobs:
      - test:
          name: "ruby3-0"
          ruby_version: "3.0.3"
      - test:
          name: "ruby2-7"
          ruby_version: "2.7.5"
      - test:
          name: "ruby2-6"
          ruby_version: "2.6.9"
      - test:
          name: "ruby2-5"
          ruby_version: "2.5.9"

  nightly:
    triggers:
      - schedule:
          cron: "0 0 * * *"
          filters:
            branches:
              only:
                - main
    jobs:
      - test:
          name: "ruby3-0"
          ruby_version: "3.0.3"
      - test:
          name: "ruby2-7"
          ruby_version: "2.7.5"
      - test:
          name: "ruby2-6"
          ruby_version: "2.6.9"
      - test:
          name: "ruby2-5"
          ruby_version: "2.5.9"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iiif_manifest-1.2.0 .circleci/config.yml
iiif_manifest-1.1.1 .circleci/config.yml