Sha256: cecb6866c5970b2b70dc5e58d30803ff087e8ad2dc5f06883c0ef161ec67a3f3

Contents?: true

Size: 1.7 KB

Versions: 17

Compression:

Stored size: 1.7 KB

Contents

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

on:
  push:
    branches: [ master, 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

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}

      - uses: actions/cache@v1
        with:
          path: vendor/bundle
          key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
          restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}

      - run: bundle config set path 'vendor/bundle'

      - run: bundle install --jobs 4 --retry 3

      - run: bundle exec rake

  notify:
    name: Trigger notify workflow
    needs: rake
    runs-on: ubuntu-latest
    steps:
      - name: Trigger notify workflow
        uses: Sibz/github-status-action@v1
        with:
          authToken: ${{ secrets.GITHUB_TOKEN }}
          context: 'tests-passed-successfully'
          description: 'Tests passed successfully'
          state: 'success'
          sha: ${{ github.event.pull_request.head.sha || github.sha }}

Version data entries

17 entries across 17 versions & 12 rubygems

Version Path
mn2pdf-1.28 .github/workflows/rake.yml
mn2pdf-1.27 .github/workflows/rake.yml
mn2pdf-1.26 .github/workflows/rake.yml
html2doc-1.0.7 .github/workflows/rake.yml
mn2pdf-1.25 .github/workflows/rake.yml
mn2pdf-1.24 .github/workflows/rake.yml
mn2pdf-1.23 .github/workflows/rake.yml
metanorma-m3aawg-1.6.0 .github/workflows/rake.yml
metanorma-cc-1.6.0 .github/workflows/rake.yml
metanorma-iec-1.2.8 .github/workflows/rake.yml
metanorma-un-0.5.7 .github/workflows/rake.yml
metanorma-ogc-1.2.7 .github/workflows/rake.yml
metanorma-nist-1.2.7 .github/workflows/rake.yml
metanorma-mpfa-0.5.7 .github/workflows/rake.yml
metanorma-itu-1.2.7 .github/workflows/rake.yml
metanorma-csa-1.6.7 .github/workflows/rake.yml
metanorma-generic-1.7.3 .github/workflows/rake.yml