Skip to content

Chore/tests

Chore/tests #12

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]
- name: 🌱 Deploy preview env with Garden
uses: garden-io/[email protected]
with:
command: test
env:
KUBE_CONTEXT: ${{ steps.kube-context.outputs.KUBE_CONTEXT }}