diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2196f18..9aca595 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -32,5 +32,6 @@ jobs: - name: Run Testing run: | - cd example36-performance && go test -v -bench=. ./... - cd example52-ring-buffer-queue && go test -v -run=^$ -benchmem -bench . ./... + CURRENT_PATH=$(pwd) + cd ${CURRENT_PATH}/example36-performance && go test -v -bench=. ./... + cd ${CURRENT_PATH}/example52-ring-buffer-queue && go test -v -run=^$ -benchmem -bench . ./...