This action runs the Traffic Control Health client integration tests.
Trafficserver RPM
Required A trafficserver RPM used to install on the Edge server.
Trafficcontrol Health cliet RPM
Required A trafficserver RPM used to install on the Edge server.
exit-code
1 if the Go program(s) could be built successfully.
jobs: tests: runs-on: ubuntu-latest services: postgres: image: postgres:11.9 env: POSTGRES_USER: traffic_ops POSTGRES_PASSWORD: twelve POSTGRES_DB: traffic_ops ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 smtp: image: maildev/maildev:2.0.0-beta3 ports: - 25:25 options: >- --entrypoint=bin/maildev --user=root --health-cmd="sh -c \"[[ \$(wget -qO- http://smtp/healthz) == true ]]\"" -- maildev/maildev:2.0.0-beta3 --smtp=25 --hide-extensions=STARTTLS --web=80 steps: - name: Checkout uses: actions/checkout@master - name: initialize database uses: ./.github/actions/todb-init - name: Run API v5 tests uses: ./.github/actions/health-client-integration-tests with: version: 5 smtp_address: localhost