Skip to content

v5.18.0 - Rename module name to NylasLegacy #7

v5.18.0 - Rename module name to NylasLegacy

v5.18.0 - Rename module name to NylasLegacy #7

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- gemfile: rails5
ruby: 2.5
- gemfile: rails6
ruby: 2.5
- gemfile: rails5
ruby: 2.6
- gemfile: rails6
ruby: 2.6
- gemfile: rails6
ruby: 3.0
name: Ruby ${{ matrix.ruby }}, Gemfile ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Bundle install
run: |
bundle config set gemfile "${GITHUB_WORKSPACE}/gemfiles/Gemfile.${{ matrix.gemfile }}"
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rspec spec
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: coverage/coverage.xml