From 8483f605037317e9ac266f893d8ef80ff3a6a56e Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 16 Jun 2021 14:04:11 +0300 Subject: - Add origin check for the websockets Signed-off-by: Valery Piashchynski --- .github/workflows/linux.yml | 1 + .github/workflows/windows.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3b3f7e9f..acde0901 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -92,6 +92,7 @@ jobs: go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./tests/plugins/rpc go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/kv_plugin.txt -covermode=atomic ./tests/plugins/kv go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/websockets.txt -covermode=atomic ./tests/plugins/websockets + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/ws_origin.txt -covermode=atomic ./plugins/websockets docker-compose -f ./tests/docker-compose.yaml down cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 92d76d2c..227c725b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -67,7 +67,6 @@ jobs: - name: Run golang tests on Windows run: | docker-compose -f ./tests/docker-compose.yaml up -d - mkdir ./coverage-ci go test -v -race ./pkg/transport/pipe go test -v -race ./pkg/transport/socket go test -v -race ./pkg/pool @@ -92,5 +91,5 @@ jobs: go test -v -race ./tests/plugins/rpc go test -v -race ./tests/plugins/kv go test -v -race ./tests/plugins/websockets + go test -v -race ./plugins/websockets docker-compose -f ./tests/docker-compose.yaml down - cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt -- cgit v1.2.3 From 8220151b6356488b8ef87fa52b14d2178a4e612d Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 16 Jun 2021 14:26:57 +0300 Subject: - Type in the GHA Signed-off-by: Valery Piashchynski --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index acde0901..69269557 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -92,7 +92,7 @@ jobs: go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./tests/plugins/rpc go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/kv_plugin.txt -covermode=atomic ./tests/plugins/kv go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/websockets.txt -covermode=atomic ./tests/plugins/websockets - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage/ws_origin.txt -covermode=atomic ./plugins/websockets + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/ws_origin.txt -covermode=atomic ./plugins/websockets docker-compose -f ./tests/docker-compose.yaml down cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt -- cgit v1.2.3 From 2dd30155de6faaf6005027d5337a840310c827f9 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 20 Jun 2021 16:40:14 +0300 Subject: - Update redis/memory pubsubs - Rework internal message bus - Add new tests for the broadcast plugin and include them into the GA Signed-off-by: Valery Piashchynski --- .github/workflows/linux.yml | 1 + .github/workflows/windows.yml | 1 + 2 files changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 69269557..62987771 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -91,6 +91,7 @@ jobs: go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/resetter.txt -covermode=atomic ./tests/plugins/resetter go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./tests/plugins/rpc go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/kv_plugin.txt -covermode=atomic ./tests/plugins/kv + go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/broadcast_plugin.txt -covermode=atomic ./tests/plugins/broadcast go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/websockets.txt -covermode=atomic ./tests/plugins/websockets go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/ws_origin.txt -covermode=atomic ./plugins/websockets docker-compose -f ./tests/docker-compose.yaml down diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 227c725b..f23f9b5d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -90,6 +90,7 @@ jobs: go test -v -race ./tests/plugins/resetter go test -v -race ./tests/plugins/rpc go test -v -race ./tests/plugins/kv + go test -v -race ./tests/plugins/broadcast go test -v -race ./tests/plugins/websockets go test -v -race ./plugins/websockets docker-compose -f ./tests/docker-compose.yaml down -- cgit v1.2.3