1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-05 00:59:19 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
975d2bedb6 Remove secureexec package
From the go 1.19 release notes:

Command and LookPath no longer allow results from a PATH search to be found relative to the current directory. This removes a common source of security problems but may also break existing programs that depend on using, say, exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in the current directory. See the os/exec package documentation for information about how best to update such programs.
2023-07-30 19:59:51 +10:00
e33fe37a99 Standardise on using lo for slice functions
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.

My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).

I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
866e0a618b Add integration test for accordion mode 2023-07-19 22:17:29 +10:00
9c0a151dfa Retry tests on CI
Now that we are running each test 6 times on CI, the risk of flakiness
is higher. I want to fix these tests for good but it'l take time, so
we're just retrying for now
2023-07-10 22:18:22 +10:00
6282d55919 Only attempt integration tests once
I was able to get all integration tests passing 20 times in a row without any retries so I'm going to see
if we can rely on that in CI
2023-07-09 20:57:18 +10:00
8121a0cc74 remove old integration test recording code 2023-03-24 18:42:11 +11:00
5a50bfd179 Fix opening the current test file from the integration test gui 2023-03-07 09:49:34 +01:00
f7e8b2dd71 cleanup integration test code 2023-02-26 12:54:13 +11:00
8b5d59c238 remove legacy integration tests 2023-02-26 11:34:18 +11:00
f999bbce7c add code generator for creating tests list 2023-02-19 11:48:09 +11:00
08c2b46d04 better visibility for tui 2023-02-12 10:47:45 +11:00
984eb95cb7 chore: remove UNKNOWN_VIEW_ERROR_MSG 2023-02-10 21:26:51 +09:00
dde70486a1 apply user config changes in sandbox mode 2022-12-20 23:07:43 +11:00
e3c6738535 remove snapshot approach for new integration tests 2022-12-20 22:45:03 +11:00
39e84e13f4 Use lazycore utils: Clamp and GetLazyRootDirectory 2022-10-15 13:55:44 -03:00
6dca3e1766 allow two attempts on CI 2022-09-16 22:31:46 -07:00
7af7af27c6 various changes to improve integration tests 2022-09-16 08:42:39 -07:00
7b757d1cfe add branch rebase integration test 2022-09-09 20:55:47 -07:00
79620fc6cf don't quit integration test tui upon error 2022-09-09 20:55:47 -07:00
b2ae651686 add slow flag to integration tests 2022-08-14 20:49:20 +10:00
e875d6b448 ensuring you can't accidentally forget to add a test to the tests list 2022-08-14 20:49:20 +10:00
9c0d860980 basic custom command test 2022-08-14 20:49:20 +10:00
5173d7f5e1 better CLI interface 2022-08-14 17:20:52 +10:00