Sha256: 0cfbbc31e7881a0c68d6f14071d033bcf6d44abb6b387870c2f818abe0f60fb8

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

name: Ruby

on:
  push:
    branches:
      - master
  pull_request: {}

jobs:
  test:
    runs-on: "ubuntu-latest"
    strategy:
      matrix:
        container_tag:
        - master-nightly-focal
        - 3.0-focal
        - 2.7-bionic
        job:
        - test
        - stdlib_test
        - rubocop validate test_doc build test_generate_stdlib
        - confirm_parser
        exclude:
        - container_tag: master-nightly-focal
          job: confirm_parser
    container:
      image: rubylang/ruby:${{ matrix.container_tag }}
    steps:
    - uses: actions/checkout@v1
    - name: Install dependencies
      run: |
        apt-get update
        apt-get install -y libdb-dev
    - name: Update rubygems & bundler
      run: |
        ruby -v
        gem update --system
    - name: bundle config set with
      run: |
        echo "NO_MINITEST=true" >> $GITHUB_ENV
        bundle config set --local without 'minitest'
      if: "contains(matrix.container_tag, 'master-nightly')"
    - name: bin/setup
      run: |
        bin/setup
    - name: Run test
      run: |
        bundle exec rake ${{ matrix.job }}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbs-1.3.2 .github/workflows/ruby.yml
rbs-1.3.1 .github/workflows/ruby.yml
rbs-1.3.0 .github/workflows/ruby.yml