Sha256: 803df9f0d4665624c855b82e6086eef7f112d4ead632337b02f9ce20bbbf2306

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

name: Test

on: [push, pull_request]

jobs:
  test:
    name: Ruby ${{ matrix.ruby }} (${{ matrix.os }})
    if: "!contains(github.event.head_commit.message, '[skip ci]')"
    strategy:
      matrix:
        ruby:
        - '3.3'
        - '3.2'
        - '3.1'
        - '3.0'
        - jruby
        - truffleruby
        os:
        - ubuntu-latest
        - macos-latest
    runs-on: ${{matrix.os}}
    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{matrix.ruby}}
        bundler-cache: true
    - name: Run tests
      run: bundle exec rake

  test-windows:
    name: Ruby ${{ matrix.ruby }} (windows-latest)
    if: "!contains(github.event.head_commit.message, '[skip ci]')"
    strategy:
      matrix:
        ruby:
        - '3.3'
        - '3.2'
        - '3.1'
        - '3.0'
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{matrix.ruby}}
        bundler-cache: true
    # - run: cinst ansicon
    - name: Run tests
      run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
microgem-1.1.2 template/.github/workflows/test.yml.tt