# Auto-generated by Cimas: Do not edit it manually! # See https://github.com/metanorma/cimas name: ubuntu on: push: branches: [ master ] 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: Install PlantUML uses: nick-invision/retry@v1 with: polling_interval_seconds: 5 timeout_minutes: 5 max_attempts: 3 command: sudo apt-get update -y && sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash" - name: Run specs run: | bundle exec rake