From 9861b48dc0c205e85929d3a1c950c9a31427cf2a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 7 Jan 2021 14:21:53 +0300 Subject: typo in CI --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6225559b..cdeb8247 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,10 +62,12 @@ jobs: - name: Install Go dependencies run: go mod download + - name: Run memcached + uses: niden/actions-memcached@v7 + - name: Run golang tests on Windows without codecov if: ${{ matrix.os == 'windows-latest' }} run: | - docker-compose -f ./tests/docker-compose.yaml up -d go test -v -race -cover -tags=debug ./utils go test -v -race -cover -tags=debug ./pkg/pipe go test -v -race -cover -tags=debug ./pkg/pool @@ -91,12 +93,10 @@ jobs: go test -v -race -cover -tags=debug ./tests/plugins/kv/boltdb go test -v -race -cover -tags=debug ./tests/plugins/kv/memory go test -v -race -cover -tags=debug ./tests/plugins/kv/memcached - docker-compose -f ./tests/docker-compose.yaml down - name: Run golang tests on Linux if: ${{ matrix.os == 'ubuntu-latest' }} run: | - docker-compose -f ./tests/docker-compose.yaml up -d mkdir ./coverage-ci go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/utils.txt -covermode=atomic ./utils go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/pipe.txt -covermode=atomic ./pkg/pipe @@ -123,12 +123,10 @@ jobs: go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/boltdb.txt -covermode=atomic ./tests/plugins/kv/boltdb go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/memory.txt -covermode=atomic ./tests/plugins/kv/memory go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/memcached.txt -covermode=atomic ./tests/plugins/kv/memcached - docker-compose -f ./tests/docker-compose.yaml down cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt - name: Run golang tests on MacOS without docker if: ${{ matrix.os == 'macos-latest' }} - uses: niden/actions-memcached@v7 run: | go test -v -race -cover -tags=debug ./utils go test -v -race -cover -tags=debug ./pkg/pipe -- cgit v1.2.3