Skip to content

ci(garden): πŸ‘· add garden test workflow #29

ci(garden): πŸ‘· add garden test workflow

ci(garden): πŸ‘· add garden test workflow #29

name: πŸ§‘β€πŸŒΎ Integration-Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
Test-on-cluster:
runs-on: ubuntu-latest
steps:
- name: πŸš€ Testing on a k8s Kind Cluster
uses: helm/[email protected]
- name: πŸ“œ Get current kube context
id: kube-context
run: |
echo "KUBE_CONTEXT=$(kubectl config current-context)" >> $GITHUB_ENV
- name: πŸ“₯ Checkout code
uses: actions/[email protected]
- run: |
cat $HOME/.kube/config
- name: 🌱 Deploy preview env with Garden
uses: garden-io/[email protected]
with:
command: test
kubeconfig-location: $HOME/.kube/config
- run: |
cat $HOME/.kube/config