File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 26
26
container :
27
27
image : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}
28
28
options : --user root
29
+ env :
30
+ PYTHON : ' 3.10'
29
31
30
32
steps :
31
33
- name : Checkout OpenSearch Dashboards
34
36
repository : opensearch-project/OpenSearch-Dashboards
35
37
ref : ${{ env.OPENSEARCH_DASHBOARDS_VERSION }}
36
38
path : OpenSearch-Dashboards
39
+ - name : Setup Python
40
+ uses : actions/setup-python@main
41
+ with :
42
+ python-version : 3.10
37
43
- name : Checkout plugin
38
44
uses : actions/checkout@v2
39
45
with :
46
52
cd ./plugins/dashboards-flow-framework &&
47
53
whoami && yarn osd bootstrap && yarn build && yarn run test:jest --coverage"
48
54
- name : Uploads coverage
49
- uses : codecov/codecov-action@v4.5.0
50
- env :
51
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
55
+ uses : codecov/codecov-action@v4
56
+ with :
57
+ env_vars : PYTHON
58
+ token : ${{ secrets.CODECOV_TOKEN }}
52
59
53
60
# TODO: once github actions supports windows and macos docker containers, we can
54
61
# merge these in to the above step's matrix, including adding windows support
@@ -101,7 +108,7 @@ jobs:
101
108
cd OpenSearch-Dashboards/plugins/dashboards-flow-framework
102
109
yarn run test:jest --coverage
103
110
- name : Uploads coverage
104
- uses : codecov/codecov-action@v4.5.0
111
+ uses : codecov/codecov-action@v4
105
112
env :
106
113
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
107
114
You can’t perform that action at this time.
0 commit comments