Skip to content

Commit

Permalink
Launch tests from ./test/index.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jun 8, 2019
1 parent aaead27 commit 1032ae5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "echo \"Error: not implemented\" && exit 1",
"deploy": "echo \"Error: not implemented\" && exit 1",
"test": "./test/new_project.sh && ./test/create_account.sh"
"test": "./test/index.sh"
},
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion test/create_account.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
env
cd tmp-project
timestamp=$(date +%s)
testaccount=testaccount$timestamp
Expand Down
5 changes: 5 additions & 0 deletions test/index.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
set -ex
env
./test/new_project.sh
./test/create_account.sh
1 change: 0 additions & 1 deletion test/new_project.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
set -ex
env

cd test/

Expand Down

0 comments on commit 1032ae5

Please sign in to comment.