Skip to content

Commit

Permalink
Add CircleCI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarjs committed Dec 5, 2020
1 parent bee41ec commit 26e9cab
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2.1
orbs:
ruby: circleci/[email protected]

jobs:
build:
docker:
- image: circleci/ruby:2.5.0
environment:
TEST_COVERAGE: true

executor: ruby/default
steps:
- checkout
- ruby/bundle-install
- run:
name: Run tests
command: bundle exec rake

- store_artifacts:
path: coverage
destination: coverage
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ end

group :test do
gem 'minitest', '~> 5.14', require: 'minitest/autorun'
gem 'minitest-ci', '~> 3.4', require: false
gem 'minitest-reporters', '~> 1.4'
gem 'mocha', '~> 1.11', require: 'mocha/minitest'
gem 'simplecov', '~> 0.19', require: false
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ GEM
hashdiff (1.0.1)
method_source (1.0.0)
minitest (5.14.2)
minitest-ci (3.4.0)
minitest (>= 5.0.6)
minitest-reporters (1.4.2)
ansi
builder
Expand Down Expand Up @@ -45,7 +43,6 @@ PLATFORMS
DEPENDENCIES
dotenv (~> 2.7)
minitest (~> 5.14)
minitest-ci (~> 3.4)
minitest-reporters (~> 1.4)
mocha (~> 1.11)
pry-byebug
Expand Down
5 changes: 0 additions & 5 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,4 @@

Bundler.require(:test)

if ENV['CI']
require 'minitest/ci'
Minitest::Ci.report_dir = 'test_results'
end

Minitest::Reporters.use! [Minitest::Reporters::DefaultReporter.new]

0 comments on commit 26e9cab

Please sign in to comment.