sumoheavy/jira-ruby

View on GitHub
.github/workflows/CI.yml

Summary

Maintainability
Test Coverage
name: Ruby

on: [push, pull_request]

jobs:
  test:
    name: CI-tests
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '3.3'
          - '3.2'
          - '3.1'
    steps:
      - uses: actions/checkout@v4

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: Run tests
        run: |
          bundle exec rake jira:generate_public_cert
          bundle exec rake spec