Sha256: b8a5c745a5cb64749fec31abf1ddae5486768b367df0e5b8fe7ea4f31610105e

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 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:

jobs:
  test-linux:
    name: Test on Ruby ${{ matrix.ruby }} Ubuntu
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
    steps:
      - uses: actions/checkout@master
      - name: Use Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          architecture: 'x64'
      - name: Update gems
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
      - name: Use Node
        uses: actions/setup-node@v1
        with:
          node-version: '12'
      - name: Install Puppeteer
        run: |
          npm install -g puppeteer@3.0.0
      - name: Run specs
        run: |
          bundle exec rake
      - name: Trigger dependent repositories
        if: github.ref == 'refs/heads/master'
        env:
          GH_USERNAME: ${{ secrets.PAT_USERNAME }}
          GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }}
        run: |
          curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
          [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
          for repo in $DEPENDENT_REPOS
          do
            sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY
          done

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metanorma-1.0.3 .github/workflows/ubuntu.yml