neon-operator/.github/workflows/tests.yaml

27 lines
588 B
YAML
Raw Normal View History

2024-09-11 09:59:14 -04:00
name: Tests
on:
2024-09-11 11:41:48 -04:00
push:
2024-09-11 16:01:53 -04:00
branches:
- main
2024-09-11 09:59:14 -04:00
pull_request:
branches:
- main
2024-09-11 10:03:02 -04:00
workflow_dispatch:
2024-09-11 09:59:14 -04:00
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2024-09-11 12:20:18 -04:00
- name: Setup Kubernetes Tools
uses: yokawasa/action-setup-kube-tools@v0.11.1
with:
tilt: "v0.33.20"
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
2024-09-11 12:26:31 -04:00
- name: Run the tests
run: |
2024-09-11 16:12:55 -04:00
kubectl apply -f manifests/deployment.yaml
2024-09-11 13:09:47 -04:00
kubectl apply -f manifests/example.yaml --validate=false
tilt ci