ci(garden): π· add garden test workflow #7
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: π§βπΎ 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/kind-action@v1.10.0 | |
- name: π Get current kube context | |
id: kube-context | |
run: | | |
echo "context=$(kubectl config current-context)" >> $GITHUB_ENV | |
- uses: actions/checkout@v3.0.2 | |
- name: π± Deploy preview env with Garden | |
uses: garden-io/garden-action@v1.2 | |
with: | |
command: test | |
env: | |
KUBE_CONTEXT: ${{ steps.kube-context.outputs.context }} |