Skip to content

Commit bed518c

Browse files
authored
Merge pull request #1 from icnocop/coverage
Using codecov github workflow action
2 parents 18d2533 + 1c3e9a7 commit bed518c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ jobs:
124124
# Limits number of created annotations with error message and stack trace captured during test execution.
125125
max-annotations: 50
126126

127-
- name: Install CodeCov
128-
run: pip install codecov
129-
130-
- name: Run tests with code coverage
131-
run: codecov -f "SpecBind_coverage.xml"
127+
- name: Generate Code Coverage Report
128+
uses: codecov/codecov-action@v1.2.1
129+
with:
130+
# Path to coverage file to upload
131+
file: SpecBind_coverage.xml
132132

133133
- name: NuGet pack SpecBind
134134
run: nuget pack src\SpecBind\SpecBind.nuspec -OutputDirectory ${{env.PACKAGE_DIR}} -BasePath src\SpecBind -Verbosity Detailed -Version ${{env.VERSION}} -Symbols -Properties Configuration=${{env.CONFIGURATION}}

0 commit comments

Comments
 (0)