43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Integration tests
|
|
|
|
on:
|
|
push:
|
|
branches: ['main']
|
|
pull_request:
|
|
branches: ['main']
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
IMAGE_REPO: 'localhost:5000'
|
|
REGISTRY: 'localhost:5000'
|
|
DOCKER_BUILDKIT: '0'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
make-target:
|
|
- integration-test-layers
|
|
- integration-test-misc
|
|
- integration-test-run
|
|
- k8s-executor-build-push integration-test-k8s
|
|
|
|
steps:
|
|
- name: Maximize build space
|
|
uses: AdityaGarg8/remove-unwanted-software@v2
|
|
with:
|
|
remove-android: 'true'
|
|
remove-dotnet: 'true'
|
|
remove-haskell: 'true'
|
|
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
|
with:
|
|
go-version: '1.22'
|
|
- uses: actions/checkout@b0e28b5ac45a892f91e7d036f8200cf5ed489415 # v3
|
|
- uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v1
|
|
|
|
- run: make install-container-diff k3s-setup
|
|
- run: make ${{ matrix.make-target }}
|