Skip to content

Commit

Permalink
Set HTTP proxy on the CI to run tests across go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Jul 23, 2024
1 parent b742bd5 commit c880e18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
HTTP_PROXY: ably:[email protected]:7128

- name: Download Packages
run: go get -t -v ./ably/...
Expand All @@ -44,6 +45,7 @@ jobs:
- name: Unit Tests
run: |
set -o pipefail
echo "proxy is $HTTP_PROXY"
go test -v -tags=unit ./... |& tee >(~/go/bin/go-junit-report > unit.junit)
- name: Upload test results
Expand Down

0 comments on commit c880e18

Please sign in to comment.