Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
- name: Execute Gradle build
run: gradle clean build

- name: Upload unit test reports
uses: actions/upload-artifact@v4
if: always()
with:
name: test-reports-java-${{ matrix.versions.java }}
path: build/reports/tests/test/
if-no-files-found: ignore

- name: Build jar
run: gradle jar

Expand Down Expand Up @@ -84,6 +92,14 @@ jobs:
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }}

- name: Upload integration test reports
uses: actions/upload-artifact@v4
if: always()
with:
name: integration-test-reports-java-${{ matrix.versions.java }}
path: build/reports/tests/integrationTest/
if-no-files-found: ignore

cleanup:
runs-on: ubuntu-latest
needs: [build, integration-test]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ jobs:
- name: Build with Gradle
run: ./gradlew clean build

- name: Upload test reports
uses: actions/upload-artifact@v4
if: always()
with:
name: test-reports-release
path: build/reports/tests/test/
if-no-files-found: ignore

- name: Publish to Maven Central
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
Expand Down
Loading