2022-05-29 16:59:36 -04:00
|
|
|
name: CI-quick-check
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
on:
|
2022-06-14 13:34:09 -04:00
|
|
|
workflow_dispatch:
|
2022-05-28 10:55:58 -04:00
|
|
|
push:
|
2022-05-29 16:44:21 -04:00
|
|
|
branches-ignore: main
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
jobs:
|
2022-05-29 15:47:45 -04:00
|
|
|
build-distribution:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2023-09-04 18:34:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2022-05-29 15:47:45 -04:00
|
|
|
- name: Build and upload distribution
|
|
|
|
uses: ./.github/actions/build-dist
|
|
|
|
|
2022-08-22 16:24:42 -04:00
|
|
|
run-unit-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2023-09-04 18:34:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2022-12-06 21:14:42 -05:00
|
|
|
- name: Configure Gradle as default for unit test
|
|
|
|
uses: ./
|
|
|
|
with:
|
2023-11-08 23:42:41 -05:00
|
|
|
gradle-version: 8.4
|
2022-08-22 16:24:42 -04:00
|
|
|
- name: Run tests
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
npm run all
|
|
|
|
|
2022-05-28 10:55:58 -04:00
|
|
|
action-inputs:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-action-inputs.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
2022-06-14 13:04:48 -04: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 10:55:58 -04:00
|
|
|
caching-config:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-action-inputs-caching.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
2023-07-05 18:43:29 -04:00
|
|
|
dependency-graph:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-dependency-graph.yml
|
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
|
|
|
|
2022-05-28 10:55:58 -04:00
|
|
|
execution-with-caching:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-execution-with-caching.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
execution:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-execution.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
2023-08-20 16:56:16 -04:00
|
|
|
gradle-enterprise-injection:
|
|
|
|
needs: build-distribution
|
2023-08-28 13:59:09 -04:00
|
|
|
uses: ./.github/workflows/integ-test-inject-gradle-enterprise.yml
|
2023-08-20 16:56:16 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2023-08-28 13:59:09 -04:00
|
|
|
secrets:
|
|
|
|
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
|
2023-08-20 16:56:16 -04:00
|
|
|
|
2022-05-29 16:58:14 -04:00
|
|
|
provision-gradle-versions:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-29 16:58:14 -04:00
|
|
|
uses: ./.github/workflows/integ-test-provision-gradle-versions.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
2023-04-14 18:23:09 -04:00
|
|
|
# restore-configuration-cache:
|
|
|
|
# needs: build-distribution
|
|
|
|
# uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
|
|
|
|
# with:
|
|
|
|
# runner-os: '["ubuntu-latest"]'
|
|
|
|
# download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
2022-06-05 23:11:24 -04: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 10:55:58 -04:00
|
|
|
restore-custom-gradle-home:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
restore-gradle-home:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-restore-gradle-home.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
restore-java-toolchain:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-restore-java-toolchain.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
sample-kotlin-dsl:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-sample-kotlin-dsl.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2022-05-28 10:55:58 -04:00
|
|
|
|
|
|
|
sample-gradle-plugin:
|
2022-05-29 15:47:45 -04:00
|
|
|
needs: build-distribution
|
2022-05-28 10:55:58 -04:00
|
|
|
uses: ./.github/workflows/integ-test-sample-gradle-plugin.yml
|
2022-05-29 15:47:45 -04:00
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|
2023-08-19 19:26:13 -04:00
|
|
|
|
|
|
|
toolchain-detection:
|
|
|
|
needs: build-distribution
|
|
|
|
uses: ./.github/workflows/integ-test-detect-java-toolchains.yml
|
|
|
|
with:
|
|
|
|
runner-os: '["ubuntu-latest"]'
|
|
|
|
download-dist: true
|