Sha256: 2dc303ecaa9edf132a8cf718388673d15bc4bdd9afd38ca4ac1581cac9360877

Contents?: true

Size: 1.41 KB

Versions: 3

Compression:

Stored size: 1.41 KB

Contents

name: Development

on: [push, pull_request]

jobs:
  test:
    runs-on: ${{matrix.os}}-latest
    continue-on-error: ${{matrix.experimental}}
    
    strategy:
      matrix:
        os:
          - ubuntu
          - macos
        
        ruby:
          - 2.5
          - 2.6
          - 2.7
        
        experimental: [false]
        env: [""]
        
        include:
          - os: ubuntu
            ruby: truffleruby
            experimental: true
            env: JRUBY_OPTS="--debug -X+O"
          - os: ubuntu
            ruby: jruby
            experimental: true
          - os: ubuntu
            ruby: head
            experimental: true
          - os: ubuntu
            ruby: 2.6
            experimental: false
            env: COVERAGE=PartialSummary,Coveralls
    
    steps:
    - uses: actions/checkout@v1
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{matrix.ruby}}
    
    - name: Install dependencies
      run: ${{matrix.env}} bundle install
    
    - name: Installing packages (ubuntu)
      if: matrix.os == 'ubuntu'
      run: sudo apt-get install wget
    
    - name: Installing packages (macos)
      if: matrix.os == 'macos'
      run: brew install wget
    
    - name: Run tests
      timeout-minutes: 5
      run: |
        git config --global user.email "samuel@oriontransfer.net"
        git config --global user.name "Samuel Williams"
        ${{matrix.env}} bundle exec rspec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
utopia-2.15.1 .github/workflows/development.yml
utopia-2.15.0 .github/workflows/development.yml
utopia-2.14.0 .github/workflows/development.yml