Unverified Commit c838a38e authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Combine all integTest workflows into 2 workflow runs

- Workflow to run all integTest workflows, allowing use of prior cache entries
- Workflow that starts with empty cache

Both of these use workflow_call to combine the existing workflows.
parent 2e34e4f8
Loading
Loading
Loading
Loading
+63
Changes for .github/workflows/ci-full-check.yml: 63 added lines, 0 removed lines.
Original line number Diff line number Diff line
name: Run integration tests starting with empty cache

on:
  pull_request:
    types: [assigned, review_requested]
  push:
    branches: [ main, dd/dpe-main ]

jobs:
  action-inputs:
    uses: ./.github/workflows/integ-test-action-inputs.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  caching-config:
    uses: ./.github/workflows/integ-test-action-inputs-caching.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  execution-with-caching:
    uses: ./.github/workflows/integ-test-execution-with-caching.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  execution:
    uses: ./.github/workflows/integ-test-execution.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  gradle-versions:
    uses: ./.github/workflows/integ-test-gradle-versions.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  restore-configuration-cache:
    uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  restore-custom-gradle-home:
    uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  restore-gradle-home:
    uses: ./.github/workflows/integ-test-restore-gradle-home.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  restore-java-toolchain:
    uses: ./.github/workflows/integ-test-restore-java-toolchain.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  sample-kotlin-dsl:
    uses: ./.github/workflows/integ-test-sample-kotlin-dsl.yml
    with:
      cache-key-prefix: ${{github.run_number}}-

  sample-gradle-plugin:
    uses: ./.github/workflows/integ-test-sample-gradle-plugin.yml
    with:
      cache-key-prefix: ${{github.run_number}}-
+40
Changes for .github/workflows/ci-quick-check.yml: 40 added lines, 0 removed lines.
Original line number Diff line number Diff line
name: Run integration tests allowing cache reuse

on:
  pull_request:
    types: [assigned, review_requested]
  push:

jobs:
  action-inputs:
    uses: ./.github/workflows/integ-test-action-inputs.yml

  caching-config:
    uses: ./.github/workflows/integ-test-action-inputs-caching.yml

  execution-with-caching:
    uses: ./.github/workflows/integ-test-execution-with-caching.yml

  execution:
    uses: ./.github/workflows/integ-test-execution.yml

  gradle-versions:
    uses: ./.github/workflows/integ-test-gradle-versions.yml

  restore-configuration-cache:
    uses: ./.github/workflows/integ-test-restore-configuration-cache.yml

  restore-custom-gradle-home:
    uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml

  restore-gradle-home:
    uses: ./.github/workflows/integ-test-restore-gradle-home.yml

  restore-java-toolchain:
    uses: ./.github/workflows/integ-test-restore-java-toolchain.yml

  sample-kotlin-dsl:
    uses: ./.github/workflows/integ-test-sample-kotlin-dsl.yml

  sample-gradle-plugin:
    uses: ./.github/workflows/integ-test-sample-gradle-plugin.yml
−3
Changes for .github/workflows/demo-failure-cases.yml: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -3,9 +3,6 @@ name: Execute failure cases
on:
  workflow_dispatch:

env:
  GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}-

jobs:

  failing-build:
Loading