Sha256: 115c69e87d2af520fddca23c0b11556a6e65e736289e822b669ae6a3f47e7b10

Contents?: true

Size: 1.37 KB

Versions: 29

Compression:

Stored size: 1.37 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: Run specs
        run: |
          bundle exec rake
      - name: Trigger dependent repositories
        if: github.ref == 'refs/heads/master' && matrix.ruby == '2.6'
        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 "{ \"ref\": \"${GITHUB_REF}\" }"
          done

Version data entries

29 entries across 29 versions & 14 rubygems

Version Path
relaton-iev-1.1.0 .github/workflows/ubuntu.yml
metanorma-csa-1.5.0 .github/workflows/ubuntu.yml
metanorma-csa-1.4.12 .github/workflows/ubuntu.yml
metanorma-csa-1.4.11 .github/workflows/ubuntu.yml
metanorma-un-0.3.8 .github/workflows/ubuntu.yml
metanorma-ogc-1.0.6 .github/workflows/ubuntu.yml
metanorma-nist-1.0.7 .github/workflows/ubuntu.yml
metanorma-mpfd-0.3.19 .github/workflows/ubuntu.yml
metanorma-m3d-1.3.19 .github/workflows/ubuntu.yml
metanorma-itu-1.0.15 .github/workflows/ubuntu.yml
metanorma-csd-1.3.21 .github/workflows/ubuntu.yml
metanorma-csa-1.4.10 .github/workflows/ubuntu.yml
metanorma-vsd-1.0.8 .github/workflows/ubuntu.yml
metanorma-iec-1.0.6 .github/workflows/ubuntu.yml
metanorma-generic-1.4.8 .github/workflows/ubuntu.yml
metanorma-gb-1.3.23 .github/workflows/ubuntu.yml
metanorma-un-0.3.7 .github/workflows/ubuntu.yml
metanorma-ogc-1.0.5 .github/workflows/ubuntu.yml
metanorma-nist-1.0.6 .github/workflows/ubuntu.yml
metanorma-m3d-1.3.18 .github/workflows/ubuntu.yml