Sha256: 84c120473d140c027969595a0aea6861d9f9f6ca8a1da42e5327aac8145610f6

Contents?: true

Size: 911 Bytes

Versions: 1

Compression:

Stored size: 911 Bytes

Contents

name: "ci"

on:
  push:
    branches:
      - main
  pull_request:
    types: [opened, synchronize]
    branches:
      - main

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        ruby-version: ["2.5", "2.6", "2.7", "3.0", "jruby", "truffleruby-head"]

    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Run tests
      run: bundle exec rake

  test-platform:
    strategy:
      fail-fast: false
      matrix:
        platform: ["windows-latest", "macos-latest"]

    runs-on: ${{ matrix.platform }}
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0
        bundler-cache: true
    - name: Run tests
      run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mechanize-2.8.1 .github/workflows/ci-test.yml