Skip to content

Commit

Permalink
test: add simple e2e test (renovatebot#3651)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored and rarkins committed May 10, 2019
1 parent 1d474e4 commit cc9b0d2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
/.idea
/package-lock.json
*.pyc
renovate-0.0.0-semantic-release.tgz
/e2e/node_modules
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ script:
- yarn test-schema
- yarn build
- yarn jest --maxWorkers=4
- yarn test-e2e

after_success:
- yarn codecov
Expand Down
11 changes: 11 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "renovate-test",
"private": true,
"version": "0.0.0",
"scripts": {
"test": "renovate --version"
},
"dependencies": {
"renovate": "../renovate-0.0.0-semantic-release.tgz"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"prettier-fix": "prettier --write \"**/*.{ts,js,json,md}\"",
"start": "node -r ts-node/register/transpile-only lib/renovate.ts",
"test-dirty": "git diff --exit-code",
"test-e2e": "npm pack && cd e2e && yarn install --no-lockfile && yarn test",
"test-schema": "bash test/json-schema.sh",
"test": "yarn lint && yarn test-schema && yarn jest"
},
Expand Down

0 comments on commit cc9b0d2

Please sign in to comment.