Sha256: e7332f009b3644abaa7d08361a8e55a537ca352aa8e86ff9df0441123211b116

Contents?: true

Size: 787 Bytes

Versions: 4

Compression:

Stored size: 787 Bytes

Contents

name: Continuous integration

on: push

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      fail-fast: false
      matrix:
        ruby: ['3.2', '3.3']

    env:
      CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}

    steps:
      - name: Checkout the code
        uses: actions/checkout@v4

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

      - name: Lint with RuboCop
        run: bundle exec rubocop

      - name: Run tests
        run: bundle exec dotenv -f ".env.test" rspec

      - name: Send test coverage to CodeClimate
        uses: paambaati/codeclimate-action@v8
        if: ${{ env.CC_TEST_REPORTER_ID }}
        with:
          coverageCommand: true

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
senec-0.17.2 .github/workflows/push.yml
senec-0.17.1 .github/workflows/push.yml
senec-0.17.0 .github/workflows/push.yml
senec-0.16.0 .github/workflows/push.yml