Skip to content

Commit a685cf7

Browse files
committed
Use Codecov for recording and reporting code coverage information
1 parent d6fbfe1 commit a685cf7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Diff for: .github/workflows/test.yml

+8
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,11 @@ jobs:
4949

5050
- name: Run unit tests
5151
run: task go:test-unit
52+
53+
- name: Send unit tests coverage to Codecov
54+
if: matrix.operating-system == 'ubuntu-latest'
55+
uses: codecov/codecov-action@v1
56+
with:
57+
file: ./coverage_unit.txt
58+
flags: unit
59+
fail_ci_if_error: true

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# arduino-check
22

3+
[![codecov-badge]](https://codecov.io/gh/arduino/arduino-lint)
4+
35
`arduino-check` is a command line tool that automatically checks for common problems in your
46
[Arduino](https://www.arduino.cc/) projects:
57

0 commit comments

Comments
 (0)