(Enhancement) Ginkgo test framework for k8tls #5
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: ci-test-ginkgo | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "src/**" | |
- "tests/**" | |
- ".github/workflows/ci-test-ginkgo.yml" | |
pull_request: | |
branches: [main] | |
paths: | |
- "src/**" | |
- "tests/**" | |
- ".github/workflows/ci-test-ginkgo.yml" | |
jobs: | |
build: | |
name: Auto-testing Framework | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "v1.20" | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@v1.3.0 | |
- name: Test connectivity | |
run: kubectl get no | |
- name: Test k8tls using Ginkgo | |
run: | | |
mkdir /tmp/k8tls | |
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo | |
make | |
working-directory: ./tests | |
timeout-minutes: 30 | |