diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/blank.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 909896e8..acbc672e 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -37,6 +37,7 @@ jobs: export GO111MODULE=on php -v composer -V + go version go mod download composer install --no-interaction --prefer-source find src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l @@ -51,6 +52,19 @@ jobs: go test ./service/http -race -v -coverprofile=http.txt -covermode=atomic go test ./service/static -race -v -coverprofile=static.txt -covermode=atomic go test ./service/limit -race -v -coverprofile=limit.txt -covermode=atomic - go test ./service/headers -race -v -coverprofile=headers.txt -covermode=atomic + go test ./service/headers -race -v -coverprofilevers=headers.txt -covermode=atomic go test ./service/metrics -race -v -coverprofile=metrics.txt -covermode=atomic go test ./service/health -race -v -coverprofile=health.txt -covermode=atomic + - name: Run code coverage + run: | + bash <(curl -s https://codecov.io/bash) -f lib.txt + bash <(curl -s https://codecov.io/bash) -f util.txt + bash <(curl -s https://codecov.io/bash) -f service.txt + bash <(curl -s https://codecov.io/bash) -f env.txt + bash <(curl -s https://codecov.io/bash) -f rpc.txt + bash <(curl -s https://codecov.io/bash) -f http.txt + bash <(curl -s https://codecov.io/bash) -f static.txt + bash <(curl -s https://codecov.io/bash) -f limit.txt + bash <(curl -s https://codecov.io/bash) -f headers.txt + bash <(curl -s https://codecov.io/bash) -f metrics.txt + bash <(curl -s https://codecov.io/bash) -f health.txt |