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
metanorma-iec-1.1.3 .github/workflows/ubuntu.yml
metanorma-gb-1.4.3 .github/workflows/ubuntu.yml
gb-agencies-0.0.7 .github/workflows/ubuntu.yml
iev-0.2.4 .github/workflows/ubuntu.yml
isoics-0.1.9 .github/workflows/ubuntu.yml
omml2mathml-0.0.7 .github/workflows/ubuntu.yml
metanorma-un-0.4.2 .github/workflows/ubuntu.yml
metanorma-ogc-1.1.2 .github/workflows/ubuntu.yml
metanorma-nist-1.1.2 .github/workflows/ubuntu.yml
metanorma-mpfa-0.4.2 .github/workflows/ubuntu.yml
metanorma-m3aawg-1.4.2 .github/workflows/ubuntu.yml
metanorma-itu-1.1.2 .github/workflows/ubuntu.yml
metanorma-cc-1.4.2 .github/workflows/ubuntu.yml
metanorma-csa-1.5.2 .github/workflows/ubuntu.yml
metanorma-vg-1.1.2 .github/workflows/ubuntu.yml
metanorma-iec-1.1.2 .github/workflows/ubuntu.yml
metanorma-gb-1.4.2 .github/workflows/ubuntu.yml
vobject-1.0.2 .github/workflows/ubuntu.yml
metanorma-un-0.4.1 .github/workflows/ubuntu.yml
metanorma-ogc-1.1.1 .github/workflows/ubuntu.yml