2022-05-29 14:59:36 -06:00
|
|
|
name: CI-quick-check
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
on:
|
2022-06-14 11:34:09 -06:00
|
|
|
workflow_dispatch:
|
2022-05-28 08:55:58 -06:00
|
|
|
push:
|
2022-05-29 14:44:21 -06:00
|
|
|
branches-ignore: main
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
jobs:
|
2022-05-29 13:47:45 -06:00
|
|
|
build-distribution:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2023-09-04 22:34:02 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-05-29 13:47:45 -06:00
|
|
|
- name: Build and upload distribution
|
|
|
|
uses: ./.github/actions/build-dist
|
|
|
|
|
2022-08-22 14:24:42 -06:00
|
|
|
run-unit-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2023-09-04 22:34:02 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-12-07 15:14:42 +13:00
|
|
|
- name: Configure Gradle as default for unit test
|
|
|
|
uses: ./
|
|
|
|
with:
|
2023-12-11 18:31:54 -07:00
|
|
|
gradle-version: 8.5
|
2022-08-22 14:24:42 -06:00
|
|
|
- name: Run tests
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
npm run all
|
|
|
|
|
2022-05-28 08:55:58 -06:00
|
|
|
action-inputs:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-action-inputs.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
2022-06-14 11:04:48 -06:00
|
|
|
cache-cleanup:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-cache-cleanup.yml
|
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
|
|
|
cache-key-prefix: ${{github.run_number}}- # Requires a fresh cache entry each run
|
|
|
|
|
2022-05-28 08:55:58 -06:00
|
|
|
caching-config:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2023-12-20 10:58:56 -07:00
|
|
|
uses: ./.github/workflows/integ-test-caching-config.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
2023-07-05 16:43:29 -06:00
|
|
|
dependency-graph:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-dependency-graph.yml
|
2024-01-01 17:13:16 -07:00
|
|
|
permissions:
|
|
|
|
contents: write
|
2023-07-05 16:43:29 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
|
|
|
|
2024-01-12 10:11:42 -07:00
|
|
|
dependency-graph-failures:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-dependency-graph-failures.yml
|
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
|
|
|
|
2022-05-28 08:55:58 -06:00
|
|
|
execution-with-caching:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-execution-with-caching.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
execution:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-execution.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
2024-01-11 05:30:40 +02:00
|
|
|
develocity-injection:
|
2023-08-20 14:56:16 -06:00
|
|
|
needs: build-distribution
|
2024-01-11 05:30:40 +02:00
|
|
|
uses: ./.github/workflows/integ-test-inject-develocity.yml
|
2023-08-20 14:56:16 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2023-08-28 19:59:09 +02:00
|
|
|
secrets:
|
2024-01-11 05:30:40 +02:00
|
|
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
|
2023-08-20 14:56:16 -06:00
|
|
|
|
2022-05-29 14:58:14 -06:00
|
|
|
provision-gradle-versions:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-29 14:58:14 -06:00
|
|
|
uses: ./.github/workflows/integ-test-provision-gradle-versions.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
2023-12-13 12:45:03 -07:00
|
|
|
restore-configuration-cache:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
|
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2024-01-01 19:36:40 -07:00
|
|
|
secrets:
|
|
|
|
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
|
2022-05-28 08:55:58 -06:00
|
|
|
|
2022-06-05 21:11:24 -06:00
|
|
|
restore-containerized-gradle-home:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-restore-containerized-gradle-home.yml
|
|
|
|
with:
|
|
|
|
download-dist: true
|
|
|
|
|
2022-05-28 08:55:58 -06:00
|
|
|
restore-custom-gradle-home:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
restore-gradle-home:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-restore-gradle-home.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
restore-java-toolchain:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-restore-java-toolchain.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
sample-kotlin-dsl:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-sample-kotlin-dsl.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 08:55:58 -06:00
|
|
|
|
|
|
|
sample-gradle-plugin:
|
2022-05-29 13:47:45 -06:00
|
|
|
needs: build-distribution
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-sample-gradle-plugin.yml
|
2022-05-29 13:47:45 -06:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2023-08-19 17:26:13 -06:00
|
|
|
|
|
|
|
toolchain-detection:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-detect-java-toolchains.yml
|
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|