Skip to content

Update graphql requirement from ~> 2.0.18 to ~> 2.3.2 #703

Update graphql requirement from ~> 2.0.18 to ~> 2.3.2

Update graphql requirement from ~> 2.0.18 to ~> 2.3.2 #703

Workflow file for this run

# WARNING: this file is written by a script. To make changes,
# alter the config in lib/tasks/ci.rake and
# run `bundle exec rake workflow`.
---
name: Skylight Agent
env:
BUNDLE_PATH: "${{ github.workspace }}/vendor/bundle"
SKYLIGHT_EXT_STRICT: 'false'
SKYLIGHT_REQUIRED: 'true'
SKYLIGHT_TEST_DIR: "/tmp"
RAILS_ENV: development
EMBEDDED_HTTP_SERVER_TIMEOUT: '30'
WORKER_SPAWN_TIMEOUT: '15'
CONFIG_DIGEST: c5e29b20d90847abb28ea061d1e270e0fe31ccbab612e6a721c5575403a4a46c
'on':
push:
branches:
- main
pull_request:
types:
- labeled
- opened
- reopened
- synchronize
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
ruby-3-3-default:
name: ruby 3.3, default
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-default-${{ hashFiles('Gemfile.lock') }}"
restore-keys: |-
${{ runner.os }}-gems-3.3-default-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
ruby-3-2-rails-6-1-x-mongo:
name: ruby 3.2, rails-6.1.x, mongo
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'rails-6.1.x')
services:
mongo:
image: mongo:4.0
ports:
- 27017:27017
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-6.1.x/Gemfile
TEST_MONGO_INTEGRATION: 'true'
MONGO_HOST: localhost
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.2-rails-6.1.x-${{ hashFiles('gemfiles/rails-6.1.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.2-rails-6.1.x-
${{ runner.os }}-gems-3.2-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-mongoid-6-x-mongoid-6:
name: ruby 2.7, mongoid-6.x, mongoid-6
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'mongoid-6.x')
services:
mongo:
image: mongo:4.0
ports:
- 27017:27017
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/mongoid-6.x/Gemfile
TEST_MONGO_INTEGRATION: 'true'
MONGO_HOST: localhost
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-mongoid-6.x-${{ hashFiles('gemfiles/mongoid-6.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-mongoid-6.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-2-elasticsearch-elasticsearch:
name: ruby 3.2, elasticsearch, elasticsearch
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'elasticsearch')
services:
elasticsearch:
image: elasticsearch:8.0.0
ports:
- 9200:9200
- 9300:9300
options: -e "discovery.type=single-node" -e "xpack.security.enabled=false"
-e "cluster.routing.allocation.disk.threshold_enabled=false" --health-cmd
"curl --fail http://localhost:9200" --health-interval 5s --health-retries
20
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/elasticsearch/Gemfile
TEST_ELASTICSEARCH_INTEGRATION: 'true'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.2-elasticsearch-${{ hashFiles('gemfiles/elasticsearch/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.2-elasticsearch-
${{ runner.os }}-gems-3.2-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-sidekiq-5-x:
name: ruby 2.7, sidekiq-5.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'sidekiq-5.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/sidekiq-5.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-sidekiq-5.x-${{ hashFiles('gemfiles/sidekiq-5.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-sidekiq-5.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-graphql-1-9-x:
name: ruby 2.7, graphql-1.9.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'graphql-1.9.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/graphql-1.9.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-graphql-1.9.x-${{ hashFiles('gemfiles/graphql-1.9.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-graphql-1.9.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-2-graphql-2-0-17:
name: ruby 3.2, graphql-2.0.17
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'graphql-2.0.17')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/graphql-2.0.17/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.2-graphql-2.0.17-${{ hashFiles('gemfiles/graphql-2.0.17/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.2-graphql-2.0.17-
${{ runner.os }}-gems-3.2-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-rails-5-2-x:
name: ruby 2.7, rails-5.2.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'rails-5.2.x')
|| !contains(github.event.pull_request.labels.*.name, 'dependencies')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-5.2.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-rails-5.2.x-${{ hashFiles('gemfiles/rails-5.2.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-rails-5.2.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-2-rails-6-0-x:
name: ruby 3.2, rails-6.0.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'rails-6.0.x')
|| !contains(github.event.pull_request.labels.*.name, 'dependencies')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-6.0.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.2-rails-6.0.x-${{ hashFiles('gemfiles/rails-6.0.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.2-rails-6.0.x-
${{ runner.os }}-gems-3.2-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-2-rails-6-1-x:
name: ruby 3.2, rails-6.1.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'rails-6.1.x')
|| !contains(github.event.pull_request.labels.*.name, 'dependencies')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-6.1.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.2-rails-6.1.x-${{ hashFiles('gemfiles/rails-6.1.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.2-rails-6.1.x-
${{ runner.os }}-gems-3.2-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-rails-edge:
name: "[allowed to fail] ruby 3.3, rails-edge"
runs-on: ubuntu-latest
continue-on-error: true
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'rails-edge')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-edge/Gemfile
RAILS_EDGE: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-rails-edge-${{ hashFiles('gemfiles/rails-edge/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-rails-edge-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-sinatra-2-x:
name: ruby 3.3, sinatra-2.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'sinatra-2.x')
|| !contains(github.event.pull_request.labels.*.name, 'dependencies')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/sinatra-2.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-sinatra-2.x-${{ hashFiles('gemfiles/sinatra-2.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-sinatra-2.x-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-sinatra-edge:
name: "[allowed to fail] ruby 3.3, sinatra-edge"
runs-on: ubuntu-latest
continue-on-error: true
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'sinatra-edge')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/sinatra-edge/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-sinatra-edge-${{ hashFiles('gemfiles/sinatra-edge/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-sinatra-edge-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-grape-1-x:
name: ruby 2.7, grape-1.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'grape-1.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/grape-1.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-grape-1.x-${{ hashFiles('gemfiles/grape-1.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-grape-1.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-grape-1-x:
name: ruby 3.3, grape-1.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'grape-1.x')
|| !contains(github.event.pull_request.labels.*.name, 'dependencies')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/grape-1.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-grape-1.x-${{ hashFiles('gemfiles/grape-1.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-grape-1.x-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-grape-1-2-x:
name: ruby 2.7, grape-1.2.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'grape-1.2.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/grape-1.2.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-grape-1.2.x-${{ hashFiles('gemfiles/grape-1.2.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-grape-1.2.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-grape-edge:
name: "[allowed to fail] ruby 3.3, grape-edge"
runs-on: ubuntu-latest
continue-on-error: true
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'grape-edge')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/grape-edge/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-grape-edge-${{ hashFiles('gemfiles/grape-edge/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-grape-edge-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-1-sequel-4:
name: ruby 3.1, sequel-4
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'sequel-4')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/sequel-4/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.1-sequel-4-${{ hashFiles('gemfiles/sequel-4/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.1-sequel-4-
${{ runner.os }}-gems-3.1-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-sequel-5:
name: ruby 3.3, sequel-5
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'sequel-5')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/sequel-5/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-sequel-5-${{ hashFiles('gemfiles/sequel-5/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-sequel-5-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-ams-0-8-x:
name: ruby 2.7, ams-0.8.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'ams-0.8.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/ams-0.8.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-ams-0.8.x-${{ hashFiles('gemfiles/ams-0.8.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-ams-0.8.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-2-7-ams-0-9-x:
name: ruby 2.7, ams-0.9.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'ams-0.9.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/ams-0.9.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-ams-0.9.x-${{ hashFiles('gemfiles/ams-0.9.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-ams-0.9.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-3-3-ams-0-10-x:
name: ruby 3.3, ams-0.10.x
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'ams-0.10.x')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/ams-0.10.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.3-ams-0.10.x-${{ hashFiles('gemfiles/ams-0.10.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.3-ams-0.10.x-
${{ runner.os }}-gems-3.3-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-head-default:
name: "[allowed to fail] ruby head, default"
runs-on: ubuntu-latest
continue-on-error: true
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'default')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
- name: Check ruby
run: ruby -v | grep "3.4" -q
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.4-default-${{ hashFiles('Gemfile.lock') }}"
restore-keys: |-
${{ runner.os }}-gems-3.4-default-
${{ runner.os }}-gems-3.4-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
ruby-head-rails-edge:
name: "[allowed to fail] ruby head, rails-edge"
runs-on: ubuntu-latest
continue-on-error: true
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name,
'full-ci') || contains(github.event.pull_request.labels.*.name, 'rails-edge')
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-edge/Gemfile
RAILS_EDGE: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
- name: Check ruby
run: ruby -v | grep "3.4" -q
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -yq sqlite libsqlite3-dev
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-3.4-rails-edge-${{ hashFiles('gemfiles/rails-edge/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-3.4-rails-edge-
${{ runner.os }}-gems-3.4-
- name: bundle install
run: "gem install bundler \nbundle install\n"
- name: Run tests
run: |
bundle exec rake workflow:verify[$CONFIG_DIGEST]
bundle exec rake
- name: Run tests (agent disabled)
env:
SKYLIGHT_DISABLE_AGENT: 'true'
run: bundle exec rake
needs:
- ruby-3-3-default
lint:
name: lint
runs-on: ubuntu-latest
if: always()
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
env:
BUNDLE_GEMFILE: gemfiles/rails-6.1.x/Gemfile
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Setup cache (bundler)
uses: actions/cache@v3
with:
path: "${{ github.workspace }}/vendor/bundle"
key: "${{ runner.os }}-gems-2.7-rails-6.1.x-${{ hashFiles('gemfiles/rails-6.1.x/Gemfile.lock')
}}"
restore-keys: |-
${{ runner.os }}-gems-2.7-rails-6.1.x-
${{ runner.os }}-gems-2.7-
- name: bundle install
run: |
gem install bundler -v 2.4.22
bundle install
- name: Set up Rubocop problem matcher
run: echo "::add-matcher::${GITHUB_WORKSPACE}/.github/rubocop.json"
- name: Run SyntaxTree
run: bundle exec rake stree:check
- name: Run Rubocop
run: |
bundle exec rubocop -v
bundle exec rubocop
required-tests-passed:
name: Required Tests Passed
runs-on: ubuntu-latest
if: always()
services:
redis:
image: redis
ports:
- 6379:6379
options: "--entrypoint redis-server"
steps:
- name: Mark tests failed
run: 'false'
if: contains(needs.*.result, 'failure')
- name: Mark tests passed
run: 'true'
if: "!contains(needs.*.result, 'failure')"
needs:
- ruby-3-3-default
- ruby-3-2-rails-6-1-x-mongo
- ruby-2-7-mongoid-6-x-mongoid-6
- ruby-3-2-elasticsearch-elasticsearch
- ruby-2-7-sidekiq-5-x
- ruby-2-7-graphql-1-9-x
- ruby-3-2-graphql-2-0-17
- ruby-2-7-rails-5-2-x
- ruby-3-2-rails-6-0-x
- ruby-3-2-rails-6-1-x
- ruby-3-3-sinatra-2-x
- ruby-2-7-grape-1-x
- ruby-3-3-grape-1-x
- ruby-2-7-grape-1-2-x
- ruby-3-1-sequel-4
- ruby-3-3-sequel-5
- ruby-2-7-ams-0-8-x
- ruby-2-7-ams-0-9-x
- ruby-3-3-ams-0-10-x