Skip to content

Commit

Permalink
Added proxy support for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Jul 23, 2024
1 parent 73489ea commit 7b0bf49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env:
HTTP_PROXY: ably:[email protected]:7128

on:
pull_request:
push:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7b0bf49

Please sign in to comment.