mirror of
https://github.com/gradle/actions.git
synced 2025-08-26 03:41:27 +08:00
Skip certain tests when running from fork
This commit is contained in:
parent
d37a479015
commit
30a2ee13f2
7
.github/workflows/ci-integ-test.yml
vendored
7
.github/workflows/ci-integ-test.yml
vendored
@ -75,6 +75,7 @@ jobs:
|
|||||||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||||
|
|
||||||
dependency-graph:
|
dependency-graph:
|
||||||
|
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||||
needs: [determine-suite, build-distribution]
|
needs: [determine-suite, build-distribution]
|
||||||
uses: ./.github/workflows/integ-test-dependency-graph.yml
|
uses: ./.github/workflows/integ-test-dependency-graph.yml
|
||||||
permissions:
|
permissions:
|
||||||
@ -84,6 +85,7 @@ jobs:
|
|||||||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||||
|
|
||||||
dependency-submission:
|
dependency-submission:
|
||||||
|
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||||
needs: [determine-suite, build-distribution]
|
needs: [determine-suite, build-distribution]
|
||||||
uses: ./.github/workflows/integ-test-dependency-submission.yml
|
uses: ./.github/workflows/integ-test-dependency-submission.yml
|
||||||
permissions:
|
permissions:
|
||||||
@ -93,6 +95,7 @@ jobs:
|
|||||||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||||
|
|
||||||
dependency-submission-failures:
|
dependency-submission-failures:
|
||||||
|
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||||
needs: [determine-suite, build-distribution]
|
needs: [determine-suite, build-distribution]
|
||||||
uses: ./.github/workflows/integ-test-dependency-submission-failures.yml
|
uses: ./.github/workflows/integ-test-dependency-submission-failures.yml
|
||||||
permissions:
|
permissions:
|
||||||
@ -116,7 +119,7 @@ jobs:
|
|||||||
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
cache-key-prefix: '${{ needs.determine-suite.outputs.cache-key-prefix }}-'
|
||||||
|
|
||||||
develocity-injection:
|
develocity-injection:
|
||||||
if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }}
|
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||||
needs: [determine-suite, build-distribution]
|
needs: [determine-suite, build-distribution]
|
||||||
uses: ./.github/workflows/integ-test-inject-develocity.yml
|
uses: ./.github/workflows/integ-test-inject-develocity.yml
|
||||||
with:
|
with:
|
||||||
@ -131,7 +134,7 @@ jobs:
|
|||||||
runner-os: '["ubuntu-latest"]'
|
runner-os: '["ubuntu-latest"]'
|
||||||
|
|
||||||
restore-configuration-cache:
|
restore-configuration-cache:
|
||||||
if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }}
|
if: ${{ ! github.event.pull_request.head.repo.fork }}
|
||||||
needs: [determine-suite, build-distribution]
|
needs: [determine-suite, build-distribution]
|
||||||
uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
|
uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user