Introduce cache lookup instrumentation hook #2083
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RSpec | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: "0 10 * * *" | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [3.1, 3.2, 3.3] | |
gemfile: [ | |
"gemfiles/graphql_2_0_0.gemfile", | |
"gemfiles/graphql_2_0_14.gemfile", | |
"gemfiles/graphql_2_1_0.gemfile", | |
"gemfiles/graphql_2_1_4.gemfile", | |
"gemfiles/graphql_2_3_0.gemfile", | |
"gemfiles/graphql_2_3_11.gemfile", | |
"gemfiles/graphql_master.gemfile" | |
] | |
exclude: | |
- ruby: "3.1" | |
gemfile: gemfiles/graphql_2_3_0.gemfile | |
- ruby: "3.1" | |
gemfile: gemfiles/graphql_2_3_11.gemfile | |
- ruby: "3.1" | |
gemfile: gemfiles/graphql_master.gemfile | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
bundler: 2.2.0 | |
cache-version: 1 | |
- name: Run Ruby Next | |
run: bundle exec rake nextify | |
- name: Run RSpec | |
run: | | |
bundle exec rake spec | |
- name: Run RSpec without Rails | |
run: | | |
bundle exec rake spec:norails |