mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
fixed test
This commit is contained in:
+22
-1
@@ -79,12 +79,27 @@ jobs:
|
||||
environment:
|
||||
NODE_ENV: test
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: ~/coralproject/talk
|
||||
- run:
|
||||
name: Setup the database with defaults
|
||||
command: ./bin/cli setup --defaults
|
||||
- run:
|
||||
name: Run the integration tests
|
||||
command: yarn e2e:ci
|
||||
deploy:
|
||||
working_directory: ~/coralproject/talk
|
||||
docker:
|
||||
- image: circleci/node:8
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: ~/coralproject/talk
|
||||
# TODO: implement
|
||||
- run:
|
||||
name: Deploy the code
|
||||
command: echo "Deployed!"
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
@@ -102,4 +117,10 @@ workflows:
|
||||
- npm_dependencies
|
||||
- test_integration:
|
||||
requires:
|
||||
- build_assets
|
||||
- build_assets
|
||||
# TODO: move to own workflow
|
||||
- deploy:
|
||||
requires:
|
||||
- lint
|
||||
- test_unit
|
||||
- test_integration
|
||||
Reference in New Issue
Block a user