diff options
author | Valery Piashchynski <[email protected]> | 2021-06-16 14:04:11 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-16 14:04:11 +0300 |
commit | 8483f605037317e9ac266f893d8ef80ff3a6a56e (patch) | |
tree | 98b5c6f5a6fd47b39306b5f30bbaa772b7f59893 /.github | |
parent | 9dc98d43b0c0de3e1e1bd8fdc97c122c7c7c594f (diff) |
- Add origin check for the websockets
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linux.yml | 1 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 3 |
2 files changed, 2 insertions, 2 deletions
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 |