Add fix for the weird zsh bug + disable tmate

This commit is contained in:
David Dworken 2022-10-23 00:36:23 -07:00
parent 907da9bf47
commit f3758dc376
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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