File tree 2 files changed +16
-6
lines changed
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 15
15
- name : Run Tests
16
16
run : |
17
17
./gradlew test --info
18
- - name : Upload Coverage Report
19
- uses : codecov/codecov-action@v2
20
- with :
21
- files : ./build/reports/jacoco/test/jacocoTestReport.xml
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ on: [push, pull_request]
5
5
6
6
jobs :
7
7
Get-CI-Image-Tag :
8
- uses : ./ .github/workflows/get-ci-image-tag.yml
8
+ uses : opensearch-project/opensearch-build/ .github/workflows/get-ci-image-tag.yml@main
9
9
with :
10
10
product : opensearch
11
11
76
76
- name : Run Tests with Coverage
77
77
run : |
78
78
pipenv run coverage run -m pytest --cov=./src --cov-report=xml
79
+ - uses : actions/upload-artifact@v4
80
+ with :
81
+ name : coverage-report-${{ matrix.os }}
82
+ path : ./coverage.xml
83
+
84
+ python-tests-codecov :
85
+ needs : python-tests-linux
86
+ runs-on : ubuntu-24.04
87
+ steps :
88
+ - uses : actions/download-artifact@v4
89
+ with :
90
+ name : coverage-report-ubuntu-24.04
91
+ path : ./
79
92
- name : Upload Coverage Report
80
- uses : codecov/codecov-action@v2
93
+ uses : codecov/codecov-action@v5
81
94
with :
95
+ token : ${{ secrets.CODECOV_TOKEN }}
82
96
files : ./coverage.xml
You can’t perform that action at this time.
0 commit comments