Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Test code coverage #202

Merged

Conversation

VijayanB
Copy link
Member

@VijayanB VijayanB commented Aug 5, 2020

Add badge and update publish only if tag is created.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #202 into master will increase coverage by 0.80%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #202      +/-   ##
============================================
+ Coverage     71.29%   72.10%   +0.80%     
+ Complexity     1275     1272       -3     
============================================
  Files           134      140       +6     
  Lines          5292     5914     +622     
  Branches        463      463              
============================================
+ Hits           3773     4264     +491     
- Misses         1364     1443      +79     
- Partials        155      207      +52     
Flag Coverage Δ Complexity Δ
#cli 79.74% <ø> (?) 0.00 <ø> (?)
#plugin 71.20% <ø> (?) 1272.00 <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...istroforelasticsearch/ad/util/ColdStartRunner.java 90.00% <0.00%> (-6.67%) 8.00% <0.00%> (-1.00%)
...asticsearch/ad/cluster/ADClusterEventListener.java 88.00% <0.00%> (-4.00%) 13.00% <0.00%> (-1.00%)
...sticsearch/ad/indices/AnomalyDetectionIndices.java 61.59% <0.00%> (-0.73%) 23.00% <0.00%> (-1.00%)
cli/internal/controller/es/es.go 100.00% <0.00%> (ø) 0.00% <0.00%> (?%)
cli/internal/gateway/ad/ad.go 65.51% <0.00%> (ø) 0.00% <0.00%> (?%)
cli/internal/mapper/ad/ad.go 84.54% <0.00%> (ø) 0.00% <0.00%> (?%)
cli/internal/handler/ad/ad.go 88.42% <0.00%> (ø) 0.00% <0.00%> (?%)
cli/internal/controller/ad/ad.go 77.38% <0.00%> (ø) 0.00% <0.00%> (?%)
cli/internal/gateway/es/es.go 86.66% <0.00%> (ø) 0.00% <0.00%> (?%)

Update release workflow to be triggered only,
when a new tag is pushed ( starts with v )
@VijayanB VijayanB force-pushed the test-code-coverage branch 6 times, most recently from 02f025c to 63e9a87 Compare August 6, 2020 00:48
@VijayanB VijayanB force-pushed the test-code-coverage branch 2 times, most recently from b4c41c9 to a3597c9 Compare August 6, 2020 01:28
Added flag: cli for cli project
Added flag: plugin for java
@VijayanB VijayanB force-pushed the test-code-coverage branch from a3597c9 to e61ac1e Compare August 6, 2020 02:55
@VijayanB VijayanB merged commit 821a9f1 into opendistro-for-elasticsearch:master Aug 6, 2020
@VijayanB VijayanB deleted the test-code-coverage branch August 6, 2020 03:49
@VijayanB VijayanB added infra documentation Improvements or additions to documentation and removed infra labels Aug 25, 2020
yizheliu-amazon pushed a commit that referenced this pull request Aug 28, 2020
* Workflow changes for AD release

Update release workflow to be triggered only,
when a new tag is pushed ( starts with v )

* Add badge for testing and code coverage
Added flag: cli for cli project
Added flag: plugin for java
* Include threshold
* Include flag in code covereage
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants