Tests for tcp.echo, tls.echo and http.kafka.sync examples #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: Test Examples | |
on: pull_request | |
#workflow_dispatch | |
jobs: | |
test-tcp-echo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@v1 | |
- name: Execute Test | |
working-directory: tcp.echo | |
run: | | |
./setup.sh | |
./test.sh | tee -a $GITHUB_STEP_SUMMARY | |
#./teardown.sh | |
- name: Teardown | |
#if: always() | |
working-directory: tcp.echo | |
run: | | |
./teardown.sh | |
test-tls-echo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create k8s Kind Cluster | |
uses: helm/kind-action@v1 | |
- name: Execute Test | |
working-directory: tls.echo | |
run: | | |
./setup.sh | |
./test.sh | tee -a $GITHUB_STEP_SUMMARY | |
#./teardown.sh | |
- name: Teardown | |
if: always() | |
working-directory: tls.echo | |
run: | | |
./teardown.sh |