[SDK-222] [no connection serial ] + implement missing internal presence map + presencequeue #542
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
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
integration-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: ['1.19', '1.20'] | |
protocol: ['json', 'msgpack'] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Download Packages | |
run: go get -t -v ./ably/... | |
- name: Install go-junit-report | |
run: go install github.com/jstemmer/go-junit-report@latest | |
- name: Integration Tests with ${{ matrix.protocol }} Protocol | |
run: | | |
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) | |
- name: Upload test results | |
if: always() | |
uses: ably/test-observability-action@v1 | |
with: | |
server-url: 'https://test-observability.herokuapp.com' | |
server-auth: ${{ secrets.TEST_OBSERVABILITY_SERVER_AUTH_KEY }} | |
path: '.' |