Skip to content

Refactor to Go Workspaces and add more tests #4

Refactor to Go Workspaces and add more tests

Refactor to Go Workspaces and add more tests #4

---
name: Integration Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test-integration:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.0"
- name: Setup Docker
uses: docker/setup-buildx-action@v3
- name: Setup kind
uses: engineerd/setup-kind@v0.4.0
with:
version: v0.8.1
name: kubexit-test
# - name: Build and Load Image
# run: |
# docker build -f cmd/test-server/Dockerfile -t kubexit/test-server:latest .
# kind load docker-image kubexit/test-server:latest --name kubexit-test
- name: Run Integration Tests
run: make test-integration
env:
GOTMPDIR: ${{ runner.temp }}