liturgical law: don't depend on markly #22
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: CI | |
on: [push, pull_request] | |
jobs: | |
specs: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: | |
# TODO: test latest MRI, oldest officially maintained MRI, 2.0.0 as oldest version we still support, and one recent JRuby version | |
- 2.6.5 # on update don't forget to update the condition below | |
- 2.5.0 | |
- 2.0.0 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle install --jobs=3 --deployment --without development | |
- name: Run tests | |
run: bundle exec rake spec | |
if: matrix.ruby-version != '2.6.5' | |
- name: Run extended tests | |
run: | | |
bundle exec rake spec_all_locales && | |
bundle exec rake data_cmp && | |
bash spec/build/gem_build_test.sh --no-rvm | |
if: matrix.ruby-version == '2.6.5' |