From 7b0bf49e2ea3576860c466fffe237c8e85e29bc2 Mon Sep 17 00:00:00 2001 From: sacOO7 Date: Tue, 23 Jul 2024 19:07:08 +0530 Subject: [PATCH] Added proxy support for integration tests --- .github/workflows/integration-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 2b22df31..e3006193 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -1,3 +1,6 @@ +env: + HTTP_PROXY: ably:AbLyProxy22@45.11.26.133:7128 + on: pull_request: push: @@ -32,6 +35,7 @@ jobs: - name: Integration Tests with ${{ matrix.protocol }} Protocol run: | + echo "proxy is $HTTP_PROXY" set -o pipefail export ABLY_PROTOCOL=${{ matrix.protocol == 'json' && 'application/json' || 'application/x-msgpack' }} go test -tags=integration -p 1 -race -v -timeout 120m ./... |& tee >(~/go/bin/go-junit-report > ${{ matrix.protocol }}-integration.junit)