feat(ci) : Add e2e test for loadbalancer #3
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: E2E Test for LoadBalancer | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up testserver | |
run: | | |
cd testserver | |
make re | |
- name: Check the 8081 | |
uses: jtalk/url-health-check-action@v3 | |
with: | |
url: http://localhost:8081 | |
- name: set up loadbalancer | |
run: | | |
make run | |
- name: Sleep for 3 seconds | |
run: sleep 3s | |
shell: bash | |
- name: Check the 8080 | |
uses: jtalk/url-health-check-action@v3 | |
with: | |
url: http://localhost:8080 |