WIP functional tests #3
Workflow file for this run
This file contains 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: 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 | |
- 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 |