Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: for mvp version, get appList from tsdb #5

Open
wants to merge 31 commits into
base: preparation
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9a46c3d
chore: update midway version
guangwong Oct 12, 2018
cdaf389
chore: change config
guangwong Oct 12, 2018
bfc3fdb
chore: update built-in assets version
guangwong Oct 12, 2018
b9ecc25
chore: use old version ws
guangwong Oct 12, 2018
6c2a63a
chore: update configs
guangwong Oct 12, 2018
d262173
chore: update configs
guangwong Oct 12, 2018
d4b8420
fix: fix wrong mode config
guangwong Oct 13, 2018
7650866
v0.0.2
guangwong Oct 15, 2018
ef4f781
test: add run cov
guangwong Oct 16, 2018
3fa8c0d
test: use blank password
guangwong Oct 16, 2018
5e5f1d2
test: init db
guangwong Oct 16, 2018
2dec4d4
test: fix test issue
guangwong Oct 16, 2018
bae7b8e
chore: add code cov
guangwong Oct 16, 2018
981ba7e
chore: add more test cov reporter
guangwong Oct 16, 2018
a9675f9
chore: mark hook executable
guangwong Oct 16, 2018
c9b54fc
chore: update cov.sh
guangwong Oct 16, 2018
bcbbfc3
test: add test cases
Oct 22, 2018
e505cfa
test: add test cases
Chunlin-Li Oct 22, 2018
805ec2e
chore: travis timezone
Chunlin-Li Oct 22, 2018
f2ade86
test: add test cases
Chunlin-Li Oct 22, 2018
2f1fce0
Merge pull request #1 from Chunlin-Li/test
guangwong Oct 23, 2018
32b1a84
test: add test for metricsManager
guangwong Oct 23, 2018
234a316
test: add test for metricsService
guangwong Oct 23, 2018
5977974
Merge pull request #2 from midwayjs/metrics_test
Chunlin-Li Oct 23, 2018
9f2c61b
Merge branch 'preparation' of github.com:midwayjs/sandbox into prepar…
Chunlin-Li Oct 23, 2018
c4f2e24
test: debugServer test case
Chunlin-Li Oct 23, 2018
46299e8
style: tslint
Chunlin-Li Oct 23, 2018
f9e470c
Merge pull request #3 from Chunlin-Li/preparation
guangwong Oct 24, 2018
a7f9319
feat: for mvp version, get appList from tsdb
guangwong Oct 25, 2018
23b3ef9
feat: add coreMetrics unusual config
guangwong Oct 25, 2018
dffcce5
feat: update metrics configs
guangwong Oct 25, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add code cov
  • Loading branch information
guangwong committed Oct 16, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit bae7b8ebfc92a725481d59caee1187f6c734aca3
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -78,6 +78,7 @@ assembly/
mocks_data/proxy/**/__*
tms
coverage
.nyc_output

############################
# visual studio code settings
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -15,3 +15,5 @@ before_script:
- npm run build
script:
- npm run cov
after_script:
- codecov
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -2,12 +2,13 @@
"name": "sandbox",
"private": true,
"devDependencies": {
"nyc": "^11.2.1",
"git-hooks": "^1.1.10",
"lerna": "^3.4.0"
},
"scripts": {
"bootstrap": "lerna bootstrap --no-ci",
"build": "lerna run build",
"cov": "lerna run cov"
"cov": "sh scripts/cov.sh"
}
}
12 changes: 12 additions & 0 deletions scripts/cov.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
lerna run cov
cwd=`pwd`
if [ -d "${cwd}/.nyc_output" ]; then
rm -rf "${cwd}/.nyc_output"
fi
mkdir "${cwd}/.nyc_output"
cp -r ./packages/*/.nyc_output/* $cwd/.nyc_output/ || true
cp -r ./packages/*/node_modules/.nyc_output/* $cwd/.nyc_output/ || true
./node_modules/.bin/nyc report