# Auto-generated by Cimas: Do not edit it manually! # See https://github.com/metanorma/cimas name: rake on: push: branches: [ master ] tags: [ v* ] pull_request: jobs: rake: name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }} runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: ruby: [ '2.6', '2.5', '2.4' ] os: [ ubuntu-latest, windows-latest, macos-latest ] experimental: [ false ] include: - ruby: '2.7' os: 'ubuntu-latest' experimental: true - ruby: '2.7' os: 'windows-latest' experimental: true - ruby: '2.7' os: 'macos-latest' experimental: true steps: - uses: actions/checkout@master - name: Use Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Update gems run: bundle install --jobs 4 --retry 3 - name: Run specs run: bundle exec rake notify: name: Trigger notify workflow needs: rake runs-on: ubuntu-latest steps: - name: Trigger notify workflow uses: Sibz/github-status-action@v1 with: authToken: ${{ secrets.GITHUB_TOKEN }} context: 'tests-passed-successfully' description: 'Tests passed successfully' state: 'success' sha: ${{ github.event.pull_request.head.sha || github.sha }}