Sha256: ba8d63401036c9030cd85f290d51279fb000754a35fea6fdc8e87b6bfcd86e15

Contents?: true

Size: 1.6 KB

Versions: 7

Compression:

Stored size: 1.6 KB

Contents

name: rake

on:
  push:
    branches: [ main ]
    tags: [ v* ]
  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 Grpahviz Ubuntu
        if: matrix.os == 'ubuntu-latest'
        run: sudo apt-get install graphviz

      - name: Install Grpahviz macOS
        if: matrix.os == 'macos-latest'
        run: brew install graphviz

      - name: Install Grpahviz Windows
        if: matrix.os == 'windows-latest'
        uses: nick-invision/retry@v1
        with:
          polling_interval_seconds: 5
          timeout_minutes: 5
          max_attempts: 3
          command: choco install --no-progress graphviz

      - name: Check dot command
        if: matrix.os == 'windows-latest'
        run: |
          dot -?

      - name: Run specs
        run: bundle exec rake

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
metanorma-plugin-lutaml-0.2.5 .github/workflows/rake.yml
metanorma-plugin-lutaml-0.2.4 .github/workflows/rake.yml
metanorma-plugin-lutaml-0.2.4.pre.alpha.4 .github/workflows/rake.yml
metanorma-plugin-lutaml-0.2.4.pre.alpha.3 .github/workflows/rake.yml
metanorma-plugin-lutaml-0.2.4.pre.alpha.2 .github/workflows/rake.yml
metanorma-plugin-lutaml-0.2.4.pre.alpha.1 .github/workflows/rake.yml
metanorma-plugin-lutaml-0.2.4.alpha .github/workflows/rake.yml