File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 45
45
su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v &&
46
46
cd ./plugins/dashboards-flow-framework &&
47
47
whoami && yarn osd bootstrap && yarn build && yarn run test:jest --coverage"
48
+ - name : Uploads coverage
49
+ uses : codecov/codecov-action@v2
50
+ env :
51
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
48
52
49
53
# TODO: once github actions supports windows and macos docker containers, we can
50
54
# merge these in to the above step's matrix, including adding windows support
96
100
run : |
97
101
cd OpenSearch-Dashboards/plugins/dashboards-flow-framework
98
102
yarn run test:jest --coverage
103
+ - name : Uploads coverage
104
+ uses : codecov/codecov-action@v2
105
+ env :
106
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
99
107
Original file line number Diff line number Diff line change 1
- # disable tracking status entirely until UT is added.
2
- # tracking issue: https://github.com/opensearch-project/dashboards-flow-framework/issues/95
3
1
coverage :
4
2
# displays different colors depending on below, between, or above the range
5
3
range : 50..90
6
4
status :
7
5
project :
8
- enabled : no
6
+ enabled : yes
9
7
default :
10
8
target : auto
11
9
# allows 5% coverage reduction without failing
@@ -14,4 +12,4 @@ coverage:
14
12
changes : no
15
13
16
14
# disable comments in PRs
17
- comment : no
15
+ comment : yes
You can’t perform that action at this time.
0 commit comments