Skip to content

WIP functional tests #4

WIP functional tests

WIP functional tests #4

Workflow file for this run

name: Functional
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
functional:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: helm/kind-action@v1
with:
cluster_name: kind
- name: Install CRDs
run: make install
- name: Build the image
run: make docker-build IMG=controller:test
- name: Load the image into Kind
run: kind load docker-image controller:test
- name: Deploy the controller
run: make deploy IMG=controller:test
- name: Sanity check
run: kubectl get ironic -A
- name: Run the tests
run: cd test && go test