Refactor to Go Workspaces and add more tests #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| 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 }} |