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

27 lines
588 B
YAML

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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
- name: Run the tests
run: |
kubectl apply -f manifests/deployment.yaml
kubectl apply -f manifests/example.yaml --validate=false
tilt ci