summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-16 15:53:40 +0300
committerGitHub <[email protected]>2021-06-16 15:53:40 +0300
commit25e0841c6aa5e2686da5b9f74e3d77d3814ff592 (patch)
tree5b7c5259375d53b0685bf838555118d5ad93f149 /.github/workflows
parent9dc98d43b0c0de3e1e1bd8fdc97c122c7c7c594f (diff)
parentb1aa5d0ea3617710aec6476bdae956e16b946281 (diff)
#730 bug(websockets): not properly checked request originv2.3.1-beta.3
#730 bug(websockets): not properly checked request origin
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux.yml1
-rw-r--r--.github/workflows/windows.yml3
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 3b3f7e9f..69269557 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-ci/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