mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-23 21:41:38 +02:00
Add fix for the weird zsh bug + disable tmate
This commit is contained in:
parent
907da9bf47
commit
f3758dc376
3
.github/workflows/go-test.yml
vendored
3
.github/workflows/go-test.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
- uses: mxschmitt/action-tmate@v3
|
# - uses: mxschmitt/action-tmate@v3
|
||||||
- name: Go test
|
- name: Go test
|
||||||
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
||||||
run: |
|
run: |
|
||||||
@ -29,4 +29,5 @@ jobs:
|
|||||||
sudo apt-get install -y zsh fish || true
|
sudo apt-get install -y zsh fish || true
|
||||||
brew install fish tmux || true
|
brew install fish tmux || true
|
||||||
export TZ='America/Los_Angeles' # Force the time zone so that test output is consistent
|
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
|
make test
|
||||||
|
4
Makefile
4
Makefile
@ -1,9 +1,9 @@
|
|||||||
forcetest:
|
forcetest:
|
||||||
go clean -testcache
|
go clean -testcache
|
||||||
HISHTORY_TEST=1 go test -p 1 -timeout 30m ./...
|
HISHTORY_TEST=1 go test -v -p 1 -timeout 30m ./...
|
||||||
|
|
||||||
test:
|
test:
|
||||||
HISHTORY_TEST=1 go test -p 1 -timeout 30m ./...
|
HISHTORY_TEST=1 go test -v -p 1 -timeout 30m ./...
|
||||||
|
|
||||||
acttest:
|
acttest:
|
||||||
act push -j test -e .github/push_event.json --reuse --container-architecture linux/amd64
|
act push -j test -e .github/push_event.json --reuse --container-architecture linux/amd64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user