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
|
2022-06-04 09:26:11 -06:00
|
|
|
uses: actions/checkout@v3
|
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
|
|
|
|
uses: actions/checkout@v3
|
2022-12-07 15:14:42 +13:00
|
|
|
- name: Configure Gradle as default for unit test
|
|
|
|
uses: ./
|
|
|
|
with:
|
2023-07-07 16:35:36 -06:00
|
|
|
gradle-version: 8.2
|
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
|
2022-05-28 08:55:58 -06:00
|
|
|
uses: ./.github/workflows/integ-test-action-inputs-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-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
|
|
|
|
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-04-14 16:23:09 -06: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 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
|