Skip to content

test: better automated e2e tests #58

test: better automated e2e tests

test: better automated e2e tests #58

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build and Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22
- run: make all
- run: make test
integration:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.8.5"
- uses: azure/setup-kubectl@v3
with:
version: "v1.30.1"
- uses: engineerd/setup-kind@v0.5.0
with:
skipClusterCreation: true
- run: terraform init
name: Initialize Terraform
- run: make cluster-test
name: Create Cluster for testing
- run: sleep 15
name: Wait for the cluster to be ready
- run: ./tests/kubetest.sh
name: End to end tests
- run: make clean
name: Clean everything