Skip to content

Commit b6a0147

Browse files
Enable CodeCov (#3)
- Add CodeCov to AppVeyor config - Add badge to README
1 parent c4b93be commit b6a0147

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ By participating, you are expected to uphold this code. Please report unacceptab
77

88
## Build Status
99

10-
|AppVeyor (Windows)|CircleCI (Linux)|
11-
|---|---|
12-
|[![Build status](https://ci.appveyor.com/api/projects/status/enn6rrrq3ds5ebhr/branch/master?svg=true)](https://ci.appveyor.com/project/SeeminglyScience/classexplorer/branch/master)|[![CircleCI](https://circleci.com/gh/SeeminglyScience/ClassExplorer.svg?style=svg)](https://circleci.com/gh/SeeminglyScience/ClassExplorer)|
10+
|AppVeyor (Windows)|CircleCI (Linux)|CodeCov|
11+
|---|---|---|
12+
|[![Build status](https://ci.appveyor.com/api/projects/status/enn6rrrq3ds5ebhr/branch/master?svg=true)](https://ci.appveyor.com/project/SeeminglyScience/classexplorer/branch/master)|[![CircleCI](https://circleci.com/gh/SeeminglyScience/ClassExplorer.svg?style=svg)](https://circleci.com/gh/SeeminglyScience/ClassExplorer)|[![codecov](https://codecov.io/gh/SeeminglyScience/ClassExplorer/branch/master/graph/badge.svg)](https://codecov.io/gh/SeeminglyScience/ClassExplorer)|
1313

1414
## Features
1515

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ install:
1212
Install-Module InvokeBuild -RequiredVersion 3.2.1 -Scope CurrentUser -Force
1313
1414
Install-Module platyPS -RequiredVersion 0.8.1 -Scope CurrentUser -Force
15+
16+
choco install codecov --no-progress
1517
build_script:
1618
- ps: >-
1719
Invoke-Build -Task Prerelease -Configuration Release -GenerateCodeCoverage
@@ -23,6 +25,7 @@ build_script:
2325
2426
if ($passed) {
2527
[System.Net.WebClient]::new().UploadFile("https://ci.appveyor.com/api/testresults/nunit/${env:APPVEYOR_JOB_ID}", $resultsFile)
28+
codecov -f "$PWD\testresults\opencover.xml"
2629
} else {
2730
$Error | Format-List * -Force
2831
exit 1;

0 commit comments

Comments
 (0)