Skip to content

Commit 527203d

Browse files
committed
Fixed codecov
Signed-off-by: Owais <[email protected]>
1 parent fd67764 commit 527203d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,19 @@ jobs:
4848
- name: Run build
4949
run: |
5050
chown -R 1000:1000 `pwd`
51-
su `id -un 1000` -c "./gradlew check --parallel && ./gradlew jacocoTestReport && cp -v build/reports/jacoco/test/jacocoTestReport.xml ./jacocoTestReport.xml"
52-
53-
- uses: actions/upload-artifact@v4
54-
if: ${{ matrix.os }} == "ubuntu-latest"
55-
with:
56-
name: coverage-report-${{ matrix.os }}-${{ matrix.java }}
57-
path: ./jacocoTestReport.xml
51+
su `id -un 1000` -c "./gradlew check --parallel && ./gradlew jacocoTestReport"
5852
5953
- name: Upload Coverage Report
60-
uses: codecov/codecov-action@v5
54+
if: ${{ !cancelled() && contains(matrix.os, 'ubuntu') && contains(matrix.java, '21') }}
55+
uses: codecov/codecov-action@v3
6156
with:
6257
token: ${{ secrets.CODECOV_TOKEN }}
63-
files: ./jacocoTestReport.xml
58+
files: ./build/reports/jacoco/test/jacocoTestReport.xml
6459

6560
Check-neural-search-windows:
6661
strategy:
6762
matrix:
68-
java: [21, 23]
63+
java: [ 21, 23 ]
6964
os: [windows-latest]
7065

7166
name: Gradle Check Windows
@@ -121,7 +116,7 @@ jobs:
121116
needs: Precommit-neural-search-linux
122117
strategy:
123118
matrix:
124-
java: [ 21, 23 ]
119+
java: [21,23]
125120
os: [ ubuntu-latest, windows-latest ]
126121
name: Multi-Node Integ Test JDK${{ matrix.java }}, ${{ matrix.os }}
127122
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)