mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-22 21:11:41 +02:00
Initial attempt at fixing the timezone bug that prevents tquery tests from running on actions
This commit is contained in:
parent
97742cf0eb
commit
1c561f5cc8
1
.github/workflows/go-test.yml
vendored
1
.github/workflows/go-test.yml
vendored
@ -27,4 +27,5 @@ jobs:
|
|||||||
sudo apt-get update || true
|
sudo apt-get update || true
|
||||||
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
|
||||||
make test
|
make test
|
||||||
|
@ -1622,11 +1622,6 @@ func TestFish(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTui(t *testing.T) {
|
func TestTui(t *testing.T) {
|
||||||
if os.Getenv("GITHUB_ACTION") != "" {
|
|
||||||
t.Skip()
|
|
||||||
// TODO: run this on actions. Need to fix the timezone bug, see https://github.com/ddworken/hishtory/actions/runs/3277144800/jobs/5394045156
|
|
||||||
}
|
|
||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
defer shared.BackupAndRestore(t)()
|
defer shared.BackupAndRestore(t)()
|
||||||
tester := zshTester{}
|
tester := zshTester{}
|
||||||
@ -1755,11 +1750,6 @@ func captureTerminalOutputWithShellName(t *testing.T, tester shellTester, overri
|
|||||||
|
|
||||||
// TODO: the below, but for fish
|
// TODO: the below, but for fish
|
||||||
func testControlR(t *testing.T, tester shellTester, shellName string) {
|
func testControlR(t *testing.T, tester shellTester, shellName string) {
|
||||||
if os.Getenv("GITHUB_ACTION") != "" {
|
|
||||||
t.Skip()
|
|
||||||
// TODO: run this on actions. Need to fix the timezone bug, see https://github.com/ddworken/hishtory/actions/runs/3277144800/jobs/5394045156
|
|
||||||
}
|
|
||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
defer shared.BackupAndRestore(t)()
|
defer shared.BackupAndRestore(t)()
|
||||||
installHishtory(t, tester, "")
|
installHishtory(t, tester, "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user