2023-06-19 17:16:36 +01:00

34 lines
685 B
YAML

name: test main
on:
push:
branches:
- main
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
lint:
uses: ./.github/workflows/lint.yaml
sync_images:
needs: [lint]
uses: ./.github/workflows/sync-images.yaml
secrets: inherit
ensure_capi_images:
needs: [lint]
uses: ./.github/workflows/ensure-capi-images.yaml
secrets: inherit
test:
needs: [sync_images, ensure_capi_images]
uses: ./.github/workflows/test.yaml
secrets: inherit
with:
# Pass the images as JSON
images: ${{ toJSON(needs.ensure_capi_images.outputs) }}
# Only run the smoke tests on main
tests-full: false