Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
dba2d345
Unverified
Commit
dba2d345
authored
Sep 03, 2019
by
Massimiliano Pippi
Committed by
GitHub
Sep 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip changelog] Add coverage for legacy tests (#390)
* add coverage for legacy tests
parent
ec968996
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
.codecov.yml
.codecov.yml
+2
-2
.github/workflows/test.yaml
.github/workflows/test.yaml
+14
-0
Taskfile.yml
Taskfile.yml
+1
-1
No files found.
.codecov.yml
View file @
dba2d345
comment
:
off
ignore
:
-
legacy/**/*
#
ignore:
#
- legacy/**/*
coverage
:
status
:
...
...
.github/workflows/test.yaml
View file @
dba2d345
...
...
@@ -76,6 +76,20 @@ jobs:
file
:
./coverage_unit.txt
flags
:
unit
-
name
:
Send legacy tests coverage to Codecov
# Since secrets aren't available on forks, we only
# upload coverage on `push`. This might change if
# Codecov whitelists GitHub, lifting the need
# for a token.
if
:
>
matrix.operating-system != 'windows-2019' &&
github.event_name == 'push'
uses
:
codecov/codecov-action@v1.0.2
with
:
token
:
${{secrets.CODECOV_TOKEN}}
file
:
./coverage_legacy.txt
flags
:
unit
-
name
:
Send integration tests coverage to Codecov
# Since secrets aren't available on forks, we only
# upload coverage on `push`. This might change if
...
...
Taskfile.yml
View file @
dba2d345
...
...
@@ -32,7 +32,7 @@ tasks:
test-legacy
:
desc
:
Run tests for the `legacy` package
cmds
:
-
go test {{ default "-v -failfast" .GOFLAGS }} ./legacy/...
-
go test {{ default "-v -failfast" .GOFLAGS }}
-coverprofile=coverage_legacy.txt
./legacy/...
test-unit-race
:
desc
:
Run unit tests only with race condition detection
...
...
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