FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
RoyalLibrary/src/codeclimate_code_coverage.sh at master · ByteDecoder/RoyalLibrary · GitHub
ByteDecoder
RoyalLibrary
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
RoyalLibrary
/
src
/
codeclimate_code_coverage.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
12 lines (9 loc) · 605 Bytes
Breadcrumbs
RoyalLibrary
/
src
/
codeclimate_code_coverage.sh
Copy path
File metadata and controls
executable file
·
12 lines (9 loc) · 605 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
#
Download codeclimate test reporter
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
>
./codeclimate-test-reporter
chmod +x ./codeclimate-test-reporter
#
Start codeclimate process
./codeclimate-test-reporter before-build
#
Running unit tests - 'lcov' output format (and put coverage in correct path)
dotnet
test
/p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=../coverage/lcov --no-restore --verbosity normal
#
Send test report result to codeclimate
./codeclimate-test-reporter after-build -t lcov -r
${CC_TEST_REPORTER_ID}
--exit-code
$?
Back
|
FazBrowse Home
|
New Git URL