Skip to content

Commit c03669f

Browse files
authored
[ci] Avoid upload unnecessary files (#3118)
1 parent 2bf7583 commit c03669f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/continuous.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
./gradlew -Dai.djl.default_engine=OnnxRuntime :integration:test
8989
./gradlew :integration:clean
9090
- name: Build with Gradle
91-
run: ./gradlew build :jacoco:testCodeCoverageReport
91+
run: ./gradlew build :jacoco:testCodeCoverageReport --stacktrace
9292
- name: Upload test results
9393
uses: actions/upload-artifact@v3
9494
if: always()

.github/workflows/nightly_publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ jobs:
3838
if: ${{ runner.os == 'macOS' }}
3939
run: brew install libomp
4040
- name: Build with Gradle
41-
run: ./gradlew -Dnightly=true build :jacoco:testCodeCoverageReport
41+
run: ./gradlew -Dnightly=true build :jacoco:testCodeCoverageReport --stacktrace
4242
- name: Upload test results
4343
uses: actions/upload-artifact@v3
4444
if: always()
4545
with:
4646
name: reports
47-
path: ${{ github.workspace }}/**/build/reports/**/*
47+
path: |
48+
${{ github.workspace }}/**/build/reports/**/*
49+
!${{ github.workspace }}/**/build/reports/jacoco/*
4850
4951
test-pytorch:
5052
if: github.repository == 'deepjavalibrary/djl'

0 commit comments

Comments
 (0)