Sha256: 38f64e40ec375f02b1a8b33507f016bc4835f7f8c2df7267900bcedc66f38409
Contents?: true
Size: 1.35 KB
Versions: 48
Compression:
Stored size: 1.35 KB
Contents
version: 2.1 executors: docker-publisher: docker: - image: circleci/buildpack-deps:stretch jobs: test: docker: - image: circleci/ruby:2.7.0-node steps: - checkout - run: name: install bundler command: gem install bundler -v 2.1.4 - run: name: Install gem dependencies command: bundle check || bundle install - run: name: Lint using rubocop command: bundle exec rubocop - run: name: Setup Code Climate test-reporter command: | 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 - run: name: Run RSpec test suite command: bundle exec rspec - run: name: upload test coverage report to Code Climate command: ./cc-test-reporter after-build --coverage-input-type simplecov --exit-code $? - run: name: Validate API specification command: | sudo npm install -g openapi-enforcer-cli result=$(openapi-enforcer validate openapi.yml) [[ $result =~ "Document is valid" ]] && { echo "Validation good" exit 0 } || { echo $result exit 1 } workflows: version: 2 test: jobs: - test
Version data entries
48 entries across 48 versions & 1 rubygems