Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian committed Feb 28, 2019
1 parent 4190a4b commit 7b9d8e4
Showing 1 changed file with 48 additions and 66 deletions.
114 changes: 48 additions & 66 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,17 @@ jobs:
- ./packages/core-container/node_modules
- ./packages/core-database/node_modules
- ./packages/core-database-postgres/node_modules
- ./packages/core-debugger-cli/node_modules
- ./packages/core-elasticsearch/node_modules
- ./packages/core-error-tracker-bugsnag/node_modules
- ./packages/core-error-tracker-sentry/node_modules
- ./packages/core-event-emitter/node_modules
- ./packages/core-forger/node_modules
- ./packages/core-graphql/node_modules
- ./packages/core-http-utils/node_modules
- ./packages/core-interfaces/node_modules
- ./packages/core-jest-matchers/node_modules
- ./packages/core-json-rpc/node_modules
- ./packages/core-logger/node_modules
- ./packages/core-logger-pino/node_modules
- ./packages/core-logger-winston/node_modules
- ./packages/core-p2p/node_modules
- ./packages/core-snapshots/node_modules
- ./packages/core-test-utils/node_modules
Expand Down Expand Up @@ -98,6 +95,12 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-database-postgres/ --coverageDirectory
.coverage/unit/core-database-postgres
- run:
name: core-event-emitter - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-event-emitter/ --coverageDirectory
.coverage/unit/core-event-emitter
- run:
name: core-api - integration
command: >-
Expand Down Expand Up @@ -161,20 +164,17 @@ jobs:
- ./packages/core-container/node_modules
- ./packages/core-database/node_modules
- ./packages/core-database-postgres/node_modules
- ./packages/core-debugger-cli/node_modules
- ./packages/core-elasticsearch/node_modules
- ./packages/core-error-tracker-bugsnag/node_modules
- ./packages/core-error-tracker-sentry/node_modules
- ./packages/core-event-emitter/node_modules
- ./packages/core-forger/node_modules
- ./packages/core-graphql/node_modules
- ./packages/core-http-utils/node_modules
- ./packages/core-interfaces/node_modules
- ./packages/core-jest-matchers/node_modules
- ./packages/core-json-rpc/node_modules
- ./packages/core-logger/node_modules
- ./packages/core-logger-pino/node_modules
- ./packages/core-logger-winston/node_modules
- ./packages/core-p2p/node_modules
- ./packages/core-snapshots/node_modules
- ./packages/core-test-utils/node_modules
Expand Down Expand Up @@ -218,6 +218,12 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-database-postgres/ --coverageDirectory
.coverage/unit/core-database-postgres
- run:
name: core-event-emitter - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-event-emitter/ --coverageDirectory
.coverage/unit/core-event-emitter
- run:
name: core-api - integration
command: >-
Expand Down Expand Up @@ -281,20 +287,17 @@ jobs:
- ./packages/core-container/node_modules
- ./packages/core-database/node_modules
- ./packages/core-database-postgres/node_modules
- ./packages/core-debugger-cli/node_modules
- ./packages/core-elasticsearch/node_modules
- ./packages/core-error-tracker-bugsnag/node_modules
- ./packages/core-error-tracker-sentry/node_modules
- ./packages/core-event-emitter/node_modules
- ./packages/core-forger/node_modules
- ./packages/core-graphql/node_modules
- ./packages/core-http-utils/node_modules
- ./packages/core-interfaces/node_modules
- ./packages/core-jest-matchers/node_modules
- ./packages/core-json-rpc/node_modules
- ./packages/core-logger/node_modules
- ./packages/core-logger-pino/node_modules
- ./packages/core-logger-winston/node_modules
- ./packages/core-p2p/node_modules
- ./packages/core-snapshots/node_modules
- ./packages/core-test-utils/node_modules
Expand All @@ -308,12 +311,6 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-event-emitter - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-event-emitter/ --coverageDirectory
.coverage/unit/core-event-emitter
- run:
name: core-forger - unit
command: >-
Expand Down Expand Up @@ -344,12 +341,30 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-logger-pino/ --coverageDirectory
.coverage/unit/core-logger-pino
- run:
name: core-p2p - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-p2p/ --coverageDirectory
.coverage/unit/core-p2p
- run:
name: core-snapshots - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-snapshots/ --coverageDirectory
.coverage/unit/core-snapshots
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: core-p2p - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-p2p/ --coverageDirectory
.coverage/integration/core-p2p
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -401,20 +416,17 @@ jobs:
- ./packages/core-container/node_modules
- ./packages/core-database/node_modules
- ./packages/core-database-postgres/node_modules
- ./packages/core-debugger-cli/node_modules
- ./packages/core-elasticsearch/node_modules
- ./packages/core-error-tracker-bugsnag/node_modules
- ./packages/core-error-tracker-sentry/node_modules
- ./packages/core-event-emitter/node_modules
- ./packages/core-forger/node_modules
- ./packages/core-graphql/node_modules
- ./packages/core-http-utils/node_modules
- ./packages/core-interfaces/node_modules
- ./packages/core-jest-matchers/node_modules
- ./packages/core-json-rpc/node_modules
- ./packages/core-logger/node_modules
- ./packages/core-logger-pino/node_modules
- ./packages/core-logger-winston/node_modules
- ./packages/core-p2p/node_modules
- ./packages/core-snapshots/node_modules
- ./packages/core-test-utils/node_modules
Expand All @@ -428,18 +440,6 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-p2p - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-p2p/ --coverageDirectory
.coverage/unit/core-p2p
- run:
name: core-snapshots - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-snapshots/ --coverageDirectory
.coverage/unit/core-snapshots
- run:
name: core-tester-cli - unit
command: >-
Expand Down Expand Up @@ -476,12 +476,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/crypto/ --coverageDirectory
.coverage/unit/crypto
- run:
name: core-p2p - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-p2p/ --coverageDirectory
.coverage/integration/core-p2p
- run:
name: core-transaction-pool - integration
command: >-
Expand Down Expand Up @@ -539,20 +533,17 @@ jobs:
- ./packages/core-container/node_modules
- ./packages/core-database/node_modules
- ./packages/core-database-postgres/node_modules
- ./packages/core-debugger-cli/node_modules
- ./packages/core-elasticsearch/node_modules
- ./packages/core-error-tracker-bugsnag/node_modules
- ./packages/core-error-tracker-sentry/node_modules
- ./packages/core-event-emitter/node_modules
- ./packages/core-forger/node_modules
- ./packages/core-graphql/node_modules
- ./packages/core-http-utils/node_modules
- ./packages/core-interfaces/node_modules
- ./packages/core-jest-matchers/node_modules
- ./packages/core-json-rpc/node_modules
- ./packages/core-logger/node_modules
- ./packages/core-logger-pino/node_modules
- ./packages/core-logger-winston/node_modules
- ./packages/core-p2p/node_modules
- ./packages/core-snapshots/node_modules
- ./packages/core-test-utils/node_modules
Expand All @@ -566,12 +557,6 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-event-emitter - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-event-emitter/ --coverageDirectory
.coverage/unit/core-event-emitter
- run:
name: core-forger - unit
command: >-
Expand Down Expand Up @@ -602,12 +587,30 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-logger-pino/ --coverageDirectory
.coverage/unit/core-logger-pino
- run:
name: core-p2p - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-p2p/ --coverageDirectory
.coverage/unit/core-p2p
- run:
name: core-snapshots - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-snapshots/ --coverageDirectory
.coverage/unit/core-snapshots
- run:
name: core-json-rpc - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-json-rpc/ --coverageDirectory
.coverage/integration/core-json-rpc
- run:
name: core-p2p - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-p2p/ --coverageDirectory
.coverage/integration/core-p2p
- run:
name: Last 1000 lines of test output
when: on_fail
Expand Down Expand Up @@ -659,20 +662,17 @@ jobs:
- ./packages/core-container/node_modules
- ./packages/core-database/node_modules
- ./packages/core-database-postgres/node_modules
- ./packages/core-debugger-cli/node_modules
- ./packages/core-elasticsearch/node_modules
- ./packages/core-error-tracker-bugsnag/node_modules
- ./packages/core-error-tracker-sentry/node_modules
- ./packages/core-event-emitter/node_modules
- ./packages/core-forger/node_modules
- ./packages/core-graphql/node_modules
- ./packages/core-http-utils/node_modules
- ./packages/core-interfaces/node_modules
- ./packages/core-jest-matchers/node_modules
- ./packages/core-json-rpc/node_modules
- ./packages/core-logger/node_modules
- ./packages/core-logger-pino/node_modules
- ./packages/core-logger-winston/node_modules
- ./packages/core-p2p/node_modules
- ./packages/core-snapshots/node_modules
- ./packages/core-test-utils/node_modules
Expand All @@ -686,18 +686,6 @@ jobs:
- run:
name: Create .core/database directory
command: mkdir -p $HOME/.core/database
- run:
name: core-p2p - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-p2p/ --coverageDirectory
.coverage/unit/core-p2p
- run:
name: core-snapshots - unit
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/core-snapshots/ --coverageDirectory
.coverage/unit/core-snapshots
- run:
name: core-tester-cli - unit
command: >-
Expand Down Expand Up @@ -734,12 +722,6 @@ jobs:
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /unit/crypto/ --coverageDirectory
.coverage/unit/crypto
- run:
name: core-p2p - integration
command: >-
cd ~/core/.circleci && ./rebuild-db.sh && cd ~/core && yarn
test:coverage /integration/core-p2p/ --coverageDirectory
.coverage/integration/core-p2p
- run:
name: core-transaction-pool - integration
command: >-
Expand Down

0 comments on commit 7b9d8e4

Please sign in to comment.