Sha256: 6e13c1a6d67e1b9b13895304dd77431077cb9c6a4a6dd516a19f5c8a20c8a1b5

Contents?: true

Size: 1.66 KB

Versions: 132

Compression:

Stored size: 1.66 KB

Contents

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

on:
  push:
    branches: [ master ]
    tags:
      - '*'
  pull_request:
    paths-ignore:
      - .github/workflows/macos.yml
      - .github/workflows/windows.yml

jobs:
  test-linux:
    name: Test on Ruby ${{ matrix.ruby }} Ubuntu
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.5', '2.4' ]
        experimental: [false]
        include:
          - ruby: '2.7'
            experimental: true
    steps:
      - uses: actions/checkout@master
      - name: Use Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Update gems
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
      - name: Run specs
        run: |
          bundle exec rake
      - name: Trigger repositories
        if: matrix.ruby == '2.6'
        env:
          GH_USERNAME: metanorma-ci
          GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_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
          CLIENT_PAYLOAD=$(cat <<EOF
          "{ "ref": "${GITHUB_REF}", "repo": "${GITHUB_REPOSITORY}" }"
          EOF
          )
          for repo in $REPOS
          do
            sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD"
          done

Version data entries

132 entries across 132 versions & 22 rubygems

Version Path
expressir-0.2.3 .github/workflows/ubuntu.yml
expressir-0.2.2 .github/workflows/ubuntu.yml
expressir-0.2.1 .github/workflows/ubuntu.yml
expressir-0.2.0 .github/workflows/ubuntu.yml
metanorma-bipm-0.0.2 .github/workflows/ubuntu.yml
metanorma-iec-1.2.6 .github/workflows/ubuntu.yml
metanorma-gb-1.5.7 .github/workflows/ubuntu.yml
metanorma-un-0.5.5 .github/workflows/ubuntu.yml
metanorma-ogc-1.2.5 .github/workflows/ubuntu.yml
metanorma-nist-1.2.5 .github/workflows/ubuntu.yml
metanorma-mpfa-0.5.5 .github/workflows/ubuntu.yml
metanorma-m3aawg-1.5.5 .github/workflows/ubuntu.yml
metanorma-itu-1.2.5 .github/workflows/ubuntu.yml
metanorma-cc-1.5.5 .github/workflows/ubuntu.yml
metanorma-csa-1.6.5 .github/workflows/ubuntu.yml
metanorma-1.1.7 .github/workflows/ubuntu.yml
metanorma-generic-1.7.1 .github/workflows/ubuntu.yml
mn2pdf-1.22.1 .github/workflows/ubuntu.yml
metanorma-bipm-0.0.1 .github/workflows/ubuntu.yml
mn2pdf-1.22 .github/workflows/ubuntu.yml