Sha256: 4bbb542c2ff050910c5f4ba0ec507261b6638d12f5ceaf8591c9efe3828afe48

Contents?: true

Size: 1.66 KB

Versions: 3

Compression:

Stored size: 1.66 KB

Contents

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

on:
  push:
    branches: [ master ]
  pull_request:

jobs:
  rake:
    name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
        os: [ ubuntu-latest, windows-latest, macos-latest ]
        experimental: [ false ]
        include:
          - ruby: '2.7'
            os: 'ubuntu-latest'
            experimental: true
          - ruby: '2.7'
            os: 'windows-latest'
            experimental: true
          - ruby: '2.7'
            os: 'macos-latest'
            experimental: true
    steps:
      - uses: actions/checkout@master

      - name: Use Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Update gems
        run: bundle install --jobs 4 --retry 3

      - name: Install PlantUML Ubuntu
        if: matrix.os == 'ubuntu-latest'
        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: Install PlantUML macOS
        if: matrix.os == 'macos-latest'
        run: brew install plantuml

      - name: Install PlantUML Windows
        if: matrix.os == 'windows-latest'
        run: |
          cinst -y plantuml

      - name: Run specs
        run: bundle exec rake

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
metanorma-iho-0.2.6 .github/workflows/rake.yml
metanorma-ribose-1.6.6 .github/workflows/rake.yml
metanorma-standoc-1.6.2 .github/workflows/rake.yml