Skip to content

Commit c8a55b9

Browse files
committed
Separate unit and functional tests
1 parent 027f394 commit c8a55b9

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.circleci/config.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
version: 2
22
jobs:
3-
build:
3+
unit:
4+
docker:
5+
- image: circleci/ruby:2.4.1-node
6+
environment:
7+
LOG_LEVEL: DEBUG
8+
steps:
9+
- checkout
10+
- run: bundle install --path vendor/bundle
11+
- run: bundle exec rspec
12+
- run: bundle exec rubocop
13+
functional:
414
docker:
515
- image: circleci/ruby:2.4.1-node
616
environment:
@@ -24,10 +34,13 @@ jobs:
2434
KAFKA_ADVERTISED_PORT: 9094
2535
KAFKA_PORT: 9094
2636
KAFKA_ZOOKEEPER_CONNECT: localhost:2181
27-
2837
steps:
2938
- checkout
3039
- run: bundle install --path vendor/bundle
31-
- run: bundle exec rspec
3240
- run: bundle exec rspec --profile --tag functional spec/functional
33-
- run: bundle exec rubocop
41+
workflows:
42+
version: 2
43+
test:
44+
jobs:
45+
- unit
46+
- functional

0 commit comments

Comments
 (0)