summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-18 21:54:31 +0300
committerValery Piashchynski <[email protected]>2021-01-18 21:54:31 +0300
commit7d3b9be82e0cf90d48ae1b2a383321eca4a053ea (patch)
tree97120355743df4080391e257c2a29463bfc9e6fa
parenta8c80738e5fc2e147630f853ea5c31be89519a3f (diff)
Return macOS tests to the CI (without docker)
-rw-r--r--.github/workflows/build.yml32
1 files changed, 31 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0b9240da..febf3e04 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -20,7 +20,7 @@ jobs:
matrix:
php: [ "7.4", "8.0" ]
go: [ "1.14", "1.15" ]
- os: [ ubuntu-latest, windows-latest ]
+ os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2 # action page: <https://github.com/actions/setup-go>
@@ -94,6 +94,36 @@ jobs:
go test -v -race -tags=debug ./tests/plugins/kv/memcached
docker-compose -f ./tests/docker-compose.yaml down
+ - name: Run golang tests on MacOS without codecov
+ if: ${{ matrix.os == 'windows-latest' }}
+ run: |
+ go test -v -race -tags=debug ./utils
+ go test -v -race -tags=debug ./pkg/pipe
+ go test -v -race -tags=debug ./pkg/pool
+ go test -v -race -tags=debug ./pkg/socket
+ go test -v -race -tags=debug ./pkg/worker
+ go test -v -race -tags=debug ./pkg/worker_watcher
+ go test -v -race -tags=debug ./tests/plugins/http
+ go test -v -race -tags=debug ./tests/plugins/informer
+ go test -v -race -tags=debug ./tests/plugins/reload
+ go test -v -race -tags=debug ./tests/plugins/server
+ go test -v -race -tags=debug ./tests/plugins/checker
+ go test -v -race -tags=debug ./tests/plugins/config
+ go test -v -race -tags=debug ./tests/plugins/gzip
+ go test -v -race -tags=debug ./tests/plugins/headers
+ go test -v -race -tags=debug ./tests/plugins/logger
+ go test -v -race -tags=debug ./tests/plugins/metrics
+ go test -v -race -tags=debug ./tests/plugins/redis
+ go test -v -race -tags=debug ./tests/plugins/resetter
+ go test -v -race -tags=debug ./tests/plugins/rpc
+ go test -v -race -tags=debug ./tests/plugins/static
+ go test -v -race -tags=debug ./plugins/kv/boltdb
+ go test -v -race -tags=debug ./plugins/kv/memory
+ go test -v -race -tags=debug ./plugins/kv/memcached
+ go test -v -race -tags=debug ./tests/plugins/kv/boltdb
+ go test -v -race -tags=debug ./tests/plugins/kv/memory
+# go test -v -race -tags=debug ./tests/plugins/kv/memcached
+
- name: Run golang tests on Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |