Skip to content

Commit

Permalink
[ci] Avoid upload unnecessary files (#3118)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu committed Apr 26, 2024
1 parent 832bb70 commit 56767b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
./gradlew -Dai.djl.default_engine=OnnxRuntime :integration:test
./gradlew :integration:clean
- name: Build with Gradle
run: ./gradlew build :jacoco:testCodeCoverageReport
run: ./gradlew build :jacoco:testCodeCoverageReport --stacktrace
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/nightly_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ jobs:
if: ${{ runner.os == 'macOS' }}
run: brew install libomp
- name: Build with Gradle
run: ./gradlew -Dnightly=true build :jacoco:testCodeCoverageReport
run: ./gradlew -Dnightly=true build :jacoco:testCodeCoverageReport --stacktrace
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: reports
path: ${{ github.workspace }}/**/build/reports/**/*
path: |
${{ github.workspace }}/**/build/reports/**/*
!${{ github.workspace }}/**/build/reports/jacoco/*
test-pytorch:
if: github.repository == 'deepjavalibrary/djl'
Expand Down

0 comments on commit 56767b9

Please sign in to comment.