name: rspec on: push: branches: [ main ] pull_request: jobs: build: name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }} runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ] os: [ ubuntu-latest, windows-latest, macos-latest ] experimental: [ false ] steps: - uses: actions/checkout@master - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - if: matrix.os == 'macos-latest' run: brew install lcdf-typetools - if: matrix.os == 'macos-latest' run: bundle exec rspec env: TEST_ENV: CI - if: matrix.os != 'macos-latest' run: bundle exec rspec --tag ~dev env: TEST_ENV: CI