Skip to content

test: add integration testing #1

test: add integration testing

test: add integration testing #1

name: Tutor Integration Test
on:
pull_request:
jobs:
k8s:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create k8s Kind Cluster
uses: helm/[email protected]
- name: Setup namespace
run: |
kubectl config set-context --current --namespace=harmony
kubectl get pods
- name: Helm dependency add
run: |
helm dependency list charts/harmony-chart 2> /dev/null | tail +2 | awk '{ print "helm" " repo add " $1 " " $3 }' | while read cmd; do $cmd; done
- name: Helm dependency build
run: |
helm dependency build charts/harmony-chart
- name: Helm install
run: |
helm install harmony --namespace harmony --create-namespace -f values-minikube.yaml charts/harmony-chart
- name: Setup domain
run: |
export CLUSTER_URL $(minikube service harmony-ingress-nginx-controller -n harmony -p harmony --url | tail +2)