Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
61b2100b
Unverified
Commit
61b2100b
authored
Sep 18, 2018
by
Torkel Ödegaard
Committed by
GitHub
Sep 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13317 from bergquist/nuke_codecov
disable codecov
parents
d964a650
0f8b9b8f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
36 deletions
+4
-36
Gruntfile.js
+0
-1
codecov.yml
+0
-11
package.json
+0
-1
scripts/circle-test-backend.sh
+1
-11
scripts/circle-test-frontend.sh
+2
-6
scripts/grunt/options/exec.js
+1
-6
No files found.
Gruntfile.js
View file @
61b2100b
...
...
@@ -25,7 +25,6 @@ module.exports = function (grunt) {
}
}
config
.
coverage
=
grunt
.
option
(
'coverage'
);
config
.
phjs
=
grunt
.
option
(
'phjsToRelease'
);
config
.
pkg
.
version
=
grunt
.
option
(
'pkgVer'
)
||
config
.
pkg
.
version
;
...
...
codecov.yml
deleted
100644 → 0
View file @
d964a650
coverage
:
precision
:
2
round
:
down
range
:
"
50...100"
status
:
project
:
yes
patch
:
yes
changes
:
no
comment
:
off
package.json
View file @
61b2100b
...
...
@@ -100,7 +100,6 @@
"watch"
:
"webpack --progress --colors --watch --mode development --config scripts/webpack/webpack.dev.js"
,
"build"
:
"grunt build"
,
"test"
:
"grunt test"
,
"test:coverage"
:
"grunt test --coverage=true"
,
"lint"
:
"tslint -c tslint.json --project tsconfig.json"
,
"jest"
:
"jest --notify --watch"
,
"api-tests"
:
"jest --notify --watch --config=tests/api/jest.js"
,
...
...
scripts/circle-test-backend.sh
View file @
61b2100b
...
...
@@ -17,17 +17,7 @@ echo "building backend with install to cache pkgs"
exit_if_fail
time
go install ./pkg/cmd/grafana-server
echo
"running go test"
set
-e
echo
""
>
coverage.txt
time
for
d
in
$(
go list ./pkg/...
)
;
do
exit_if_fail go
test
-coverprofile
=
profile.out
-covermode
=
atomic
$d
if
[
-f
profile.out
]
;
then
cat
profile.out
>>
coverage.txt
rm profile.out
fi
exit_if_fail go
test
-covermode
=
atomic
$d
done
echo
"Publishing go code coverage"
bash <
(
curl
-s
https://codecov.io/bash
)
-cF
go
scripts/circle-test-frontend.sh
View file @
61b2100b
...
...
@@ -10,9 +10,5 @@ function exit_if_fail {
fi
}
exit_if_fail npm run
test
:coverage
# publish code coverage
echo
"Publishing javascript code coverage"
bash <
(
curl
-s
https://codecov.io/bash
)
-cF
javascript
rm
-rf
coverage
exit_if_fail npm run
test
exit_if_fail npm run build
scripts/grunt/options/exec.js
View file @
61b2100b
module
.
exports
=
function
(
config
,
grunt
)
{
'use strict'
;
var
coverage
=
''
;
if
(
config
.
coverage
)
{
coverage
=
'--coverage --maxWorkers 2'
;
}
return
{
tslint
:
'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json'
,
jest
:
'node ./node_modules/jest-cli/bin/jest.js
'
+
coverage
,
jest
:
'node ./node_modules/jest-cli/bin/jest.js
--maxWorkers 2'
,
webpack
:
'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js'
,
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment