Sha256: d1e48e76d5ce1e88ced300f2f4ae6143a3833a60fd9340e899368c4986212229

Contents?: true

Size: 899 Bytes

Versions: 6

Compression:

Stored size: 899 Bytes

Contents

name: CI

on:
  push:
    branches: [master]

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - name: Check out code
        uses: actions/checkout@v2

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.0

      - name: Install dependencies
        run: bundle install

      - name: Run tests
        env:
          CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
        run: |
          bundle exec rspec

      - name: Upload coverage to Code Climate
        env:
          CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
        run: |
          curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
          chmod +x ./cc-test-reporter
          ./cc-test-reporter before-build
          bundle exec rspec
          ./cc-test-reporter after-build --exit-code $?

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dev_suite-0.2.13 .github/workflows/ci.yml
dev_suite-0.2.12 .github/workflows/ci.yml
dev_suite-0.2.11 .github/workflows/ci.yml
dev_suite-0.2.10 .github/workflows/ci.yml
dev_suite-0.2.9 .github/workflows/ci.yml
dev_suite-0.2.8 .github/workflows/ci.yml