Skip to content

Refactor ci.yml to abide with peng's rules #31

Refactor ci.yml to abide with peng's rules

Refactor ci.yml to abide with peng's rules #31

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: [self-hosted, devcycle, linux, x64]
timeout-minutes: ${{ fromJSON(vars.DEFAULT_JOB_TIMEOUT) }}
strategy:
fail-fast: false
matrix:
gemfile:
- Gemfile
- Gemfile.5.2
- Gemfile.6.0
- Gemfile.6.1
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies
run: bundle install
- name: Run tests
run:
bundle exec rspec