Adjust CI to not publish test results for deploy-snapshot (#1357)

This commit is contained in:
Daniel Chao
2025-12-08 09:56:57 -08:00
committed by GitHub
parent 252f44728e
commit b7ccc67bd8
2 changed files with 1 additions and 15 deletions

2
.github/index.pkl vendored
View File

@@ -21,8 +21,8 @@ testReports {
}
excludeJobs {
"bench"
"deploy-release"
"github-release"
Regex("deploy-.*")
}
}

14
.github/workflows/main.yml generated vendored
View File

@@ -779,19 +779,6 @@ jobs:
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME }}
run: ./gradlew --info --stacktrace --no-daemon -DpklMultiJdkTesting=true --no-parallel publishToSonatype
- name: Upload Test Result XML
if: '!cancelled()'
uses: actions/upload-artifact@v5
with:
name: test-results-xml-deploy-snapshot
path: '**/build/test-results/**/*.xml'
- name: Upload Test Result HTML
if: '!cancelled()'
uses: actions/upload-artifact@v5
with:
name: test-results-html-deploy-snapshot
path: '**/build/reports/tests/**/*'
if-no-files-found: ignore
publish-test-results:
if: '!failure() && !cancelled()'
needs:
@@ -811,7 +798,6 @@ jobs:
- pkl-doc-linux-aarch64-snapshot
- pkl-doc-alpine-linux-amd64-snapshot
- pkl-doc-windows-amd64-snapshot
- deploy-snapshot
permissions:
checks: write
runs-on: ubuntu-latest