From f3758dc3761b6c4b44540f91f1c73f1f1c8c14c5 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 23 Oct 2022 00:36:23 -0700 Subject: [PATCH] Add fix for the weird zsh bug + disable tmate --- .github/workflows/go-test.yml | 3 ++- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index c511317..f71de28 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.18 - - uses: mxschmitt/action-tmate@v3 + # - uses: mxschmitt/action-tmate@v3 - name: Go test if: ${{ !startsWith(github.event.head_commit.message, 'Release') }} run: | @@ -29,4 +29,5 @@ jobs: sudo apt-get install -y zsh fish || true brew install fish tmux || true export TZ='America/Los_Angeles' # Force the time zone so that test output is consistent + sudo chmod 0755 -R /usr/share/zsh/ || true # Work around a weird bug where zsh on ubuntu actiosn gives that diretory 0777 which makes zsh refuse to start make test diff --git a/Makefile b/Makefile index 67758ae..756c19d 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ forcetest: go clean -testcache - HISHTORY_TEST=1 go test -p 1 -timeout 30m ./... + HISHTORY_TEST=1 go test -v -p 1 -timeout 30m ./... test: - HISHTORY_TEST=1 go test -p 1 -timeout 30m ./... + HISHTORY_TEST=1 go test -v -p 1 -timeout 30m ./... acttest: act push -j test -e .github/push_event.json --reuse --container-architecture linux/amd64