43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Mini Mime Tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: "Ruby ${{ matrix.ruby }} / Failure allowed: ${{ matrix.experimental }}"
|
|
continue-on-error: ${{ matrix.experimental }}
|
|
timeout-minutes: 5
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1"]
|
|
experimental: [false]
|
|
include:
|
|
- ruby: "ruby-head"
|
|
experimental: true
|
|
- ruby: "truffleruby-head"
|
|
experimental: true
|
|
- ruby: "jruby-head"
|
|
experimental: true
|
|
- ruby: "jruby-9.2.20.1"
|
|
experimental: true
|
|
- ruby: "jruby-9.3.2.0"
|
|
experimental: true
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ matrix.ruby }}
|
|
bundler-cache: true
|
|
- name: Rubocop
|
|
run: bundle exec rubocop
|
|
if: "!contains(matrix.ruby, 'jruby')"
|
|
- name: Tests
|
|
run: bundle exec rake test
|