Skip to content

Commit 26e9cab

Browse files
committedDec 5, 2020
Add CircleCI configuration
1 parent bee41ec commit 26e9cab

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed
 

‎.circleci/config.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2.1
2+
orbs:
3+
ruby: circleci/ruby@0.1.2
4+
5+
jobs:
6+
build:
7+
docker:
8+
- image: circleci/ruby:2.5.0
9+
environment:
10+
TEST_COVERAGE: true
11+
12+
executor: ruby/default
13+
steps:
14+
- checkout
15+
- ruby/bundle-install
16+
- run:
17+
name: Run tests
18+
command: bundle exec rake
19+
20+
- store_artifacts:
21+
path: coverage
22+
destination: coverage

‎Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ end
1010

1111
group :test do
1212
gem 'minitest', '~> 5.14', require: 'minitest/autorun'
13-
gem 'minitest-ci', '~> 3.4', require: false
1413
gem 'minitest-reporters', '~> 1.4'
1514
gem 'mocha', '~> 1.11', require: 'mocha/minitest'
1615
gem 'simplecov', '~> 0.19', require: false

‎Gemfile.lock

-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ GEM
1313
hashdiff (1.0.1)
1414
method_source (1.0.0)
1515
minitest (5.14.2)
16-
minitest-ci (3.4.0)
17-
minitest (>= 5.0.6)
1816
minitest-reporters (1.4.2)
1917
ansi
2018
builder
@@ -45,7 +43,6 @@ PLATFORMS
4543
DEPENDENCIES
4644
dotenv (~> 2.7)
4745
minitest (~> 5.14)
48-
minitest-ci (~> 3.4)
4946
minitest-reporters (~> 1.4)
5047
mocha (~> 1.11)
5148
pry-byebug

‎test/test_helper.rb

-5
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,4 @@
1212

1313
Bundler.require(:test)
1414

15-
if ENV['CI']
16-
require 'minitest/ci'
17-
Minitest::Ci.report_dir = 'test_results'
18-
end
19-
2015
Minitest::Reporters.use! [Minitest::Reporters::DefaultReporter.new]

0 commit comments

Comments
 (0)
Failed to load comments.