Add sleep before port forward #48
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: Kubernetes Integration Tests | |
on: | |
push: # Run on pushes to the default branch | |
branches: [kube_mode_ci] | |
# pull_request_target: # Also run on pull requests originated from forks | |
# branches: [kube_mode_ci] | |
jobs: | |
run-kubernets-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Kubernetes KinD Cluster | |
uses: container-tools/kind-action@v1 | |
- name: Run tests | |
run: | | |
sh ./scripts/test/kubernetes-setup.sh | |
pip install hatch | |
hatch -e tests.py3.9-2.9 run pip freeze | |
hatch run tests.py3.9-2.9:test-kubernetes | |
kubectl get pods -o wide | |
kubectl logs postgres-postgresql-0 |