Skip to content

Commit

Permalink
Add MacOS test to Circle CI (#312)
Browse files Browse the repository at this point in the history
Add tests for MacOS and Linux
  • Loading branch information
styfle authored Mar 18, 2019
1 parent 2e5000f commit 264c168
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
version: 2
jobs:
build:
test-macos:
macos:
xcode: "9.3.0"
working_directory: ~/macos-repo
steps:
- checkout
- run:
name: Install Node.js
command: curl -sSL https://install-node.now.sh/10 | sudo bash -s -- --yes
- run:
name: Installing dependencies
command: yarn install
- run:
name: Build unit test binary
command: yarn build-test-binary
# - run:
# name: Linting
# command: yarn lint
- run:
name: Unit & integration tests
command: yarn test
test-linux:
docker:
- image: circleci/node:10
working_directory: ~/repo
Expand All @@ -21,3 +42,9 @@ jobs:
- run:
name: Coverage
command: yarn test-coverage
workflows:
version: 2
test:
jobs:
- test-linux
- test-macos

0 comments on commit 264c168

Please sign in to comment.