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