Sha256: d0a0f7fd39ea054421b089354c93354c6cbb018eb96b7a9f8e04db746202aa91

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: ubuntu

on:
  push:
    branches: [ master ]
  pull_request:
    paths-ignore:
      - .github/workflows/macos.yml
      - .github/workflows/windows.yml

jobs:
  test-linux:
    name: Test on Ruby ${{ matrix.ruby }} Ubuntu
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
        experimental: [false]
        include:
          - ruby: '2.7'
            experimental: true
    steps:
      - uses: actions/checkout@master
      - name: Use Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Cache gems
        uses: actions/cache@preview
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('Gemfile') }}
          restore-keys: |
            ${{ runner.os }}-${{ matrix.ruby }}-gem-
      - name: Update gems
        run: |
          gem install bundler
          bundle config --local path vendor/bundle
          bundle install --jobs 4 --retry 3
      - name: Install PlantUML
        uses: nick-invision/retry@v1
        with:
          polling_interval_seconds: 5
          timeout_minutes: 5
          max_attempts: 3
          command: sudo apt-get update -y && sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash"
      - name: Run specs
        run: |
          bundle exec rake

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
metanorma-iso-1.5.12 .github/workflows/ubuntu.yml
metanorma-iso-1.5.11 .github/workflows/ubuntu.yml