hoppergee/solidservice

View on GitHub
matrixeval.yml

Summary

Maintainability
Test Coverage
version: 0.4
target: ruby
project_name: solidservice
parallel_workers: number_of_processors
commands:
#   - ps
#   - top
#   - an_additional_command
# mounts:
#   - /a/path/need/to/mount:/a/path/mount/to
matrix:
  ruby:
    main: true
    variants:
      - key: 2.6
        container:
          image: ruby:2.6.10
      - key: 2.7
        container:
          image: ruby:2.7.6
      - key: 3.0
        container:
          image: ruby:3.0.4
      - key: 3.1
        default: true
        container:
          image: ruby:3.1.2
      # - key: jruby-9.3
      #   container:
      #     image: jruby:9.3
      #   env:
      #       PATH: "/opt/jruby/bin:/app/bin:/bundle/bin:$PATH"
      #   mounts:
      #     - /a/path/need/to/mount:/a/path/mount/to

  rails:
    variants:
      - key: 6.0
        env:
          RAILS_VERSION: "~> 6.0.0"
      - key: 6.1
        env:
          RAILS_VERSION: "~> 6.1.0"
      - key: 7.0
        default: true
        env:
          RAILS_VERSION: "~> 7.0.0"
  # another:
  #   variants:
  #     - key: key1
  #       default: true
  #       env:
  #         ENV_KEY: 1
  #     - key: key2
  #       env:
  #         ENV_KEY: 2

exclude:
  - ruby: 2.6
    rails: 7.0
  # - ruby: jruby-9.3
  #   rails: 7.0

docker-compose-extend:
  # services:
  #   postgres:
  #     image: postgres:12.8
  #     volumes:
  #       - postgres12:/var/lib/postgresql/data
  #     environment:
  #       POSTGRES_HOST_AUTH_METHOD: trust

  #   redis:
  #     image: redis:6.2-alpine

  # volumes:
  #   postgres12: