Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #133 from thetribeio/unit-tests
Browse files Browse the repository at this point in the history
Run unit tests on CI
  • Loading branch information
jvasseur committed Oct 21, 2019
2 parents 0507581 + 98b3c15 commit 5200c6a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Expand Up @@ -63,6 +63,17 @@ jobs:
name: Build app
command: yarn build

unit-tests:
docker:
- image: circleci/node:12.7
steps:
- checkout
- attach_workspace:
at: ~/project
- run:
name: Run tests
command: yarn test

functional-tests:
docker:
- image: circleci/node:12.7
Expand Down Expand Up @@ -142,6 +153,9 @@ workflows:
- build:
requires:
- yarn-install
- unit-tests:
requires:
- yarn-install
- functional-tests:
context: saucelabs
requires:
Expand Down

0 comments on commit 5200c6a

Please sign in to comment.