Commit Graph

35 Commits

Author SHA1 Message Date
Kovid Goyal
3b2c4561c2
Dont change the env for go tests
This prevents got test caching from working greatly increasing the time
for running a test
2022-11-14 15:41:53 +05:30
Kovid Goyal
45540561cc
More debug info about PATH in CI 2022-11-14 15:41:46 +05:30
Kovid Goyal
f90753c69b
Use whatever version of go is available on CI 2022-11-14 15:41:46 +05:30
Kovid Goyal
07dc83670b
Fix go in home dir getting removed from PATH on CI 2022-11-14 15:41:44 +05:30
Kovid Goyal
1325844539
Add some go testing infrastructure 2022-11-14 15:41:44 +05:30
Kovid Goyal
5ea0519f62
Pass through python used for type check to the test code from before the env is sanitized 2022-09-25 14:36:12 +05:30
Kovid Goyal
44ccdd36d6
Remove socket prewarming
The potential for breakage is too high, and I am working on an
alternative solution that will be better long term.

Prewarming is still used for kittens launched via keybindings
2022-08-20 13:38:33 +05:30
Kovid Goyal
62c0272df2
Get test.py working when prewarm socket is in operation 2022-08-01 19:03:03 +05:30
Kovid Goyal
8f3174038b
Fix running of test suite inside kitty 2022-08-01 19:03:02 +05:30
Kovid Goyal
7281b9dbb1
Ensure local kitty is used when running the tests 2022-07-05 21:09:09 +05:30
Kovid Goyal
4b63ee036e
Run the test suite using the kitty binary 2022-07-05 21:05:03 +05:30
Kovid Goyal
f023f047ff
Workaround for Python 3.11 breaking sys._xoptions
Apparently in Python-land its acceptable behavior to break backward
compatibility with documented interfaces on a whim. Bloody joke.
https://github.com/python/cpython/pull/28823

Fixes #5223
2022-06-23 08:44:34 +05:30
Kovid Goyal
a7c65efc45
Ensure local kitty is used in tests even when another kitty is present in the system PATH
Fixes #5194
2022-06-14 21:08:58 +05:30
Kovid Goyal
261057396c
Fix zsh integration test on CI
Also, add various other robustness improvements to the test
2022-02-21 21:17:41 +05:30
Kovid Goyal
595698d8e9
Remove dirs in HOME from PATH wen running tests 2022-02-21 16:57:11 +05:30
Kovid Goyal
f9af273150
Try to convince mypy to play nice 2021-12-23 10:18:42 +05:30
Kovid Goyal
f0e8ab8f31
Drop support for python 3.6
It is being EOLed next month (https://www.python.org/dev/peps/pep-0494/)
which is when I expect the next kitty release as well
2021-11-18 22:44:41 +05:30
Kovid Goyal
66db3f9764
Also sanitize various XDG* env vars when running the test suite 2021-10-31 16:21:33 +05:30
Kovid Goyal
7428d42c16
Restore environ after running tests 2021-10-31 09:20:06 +05:30
Kovid Goyal
99d9cb0b0d
Run tests with HOME set to a tempdir 2021-10-31 08:20:46 +05:30
Kovid Goyal
5be45d0ff2
Turn on all warnings when running test suite 2021-06-26 12:55:53 +05:30
Kovid Goyal
e06d40cb31
Fix test suite getting type checked accidentally 2021-02-19 15:19:04 +05:30
Kovid Goyal
38992e25d7
Make the tests into a package
Useful to make the tests runnable in a frozen build.
2021-02-19 14:35:25 +05:30
Kovid Goyal
efca2658ea
Fix typing issues pointed out by updated mypy 2020-10-12 23:03:07 +05:30
Kovid Goyal
b27f6d5957
more typing work 2020-03-12 14:26:51 +05:30
Kovid Goyal
bb8cab3a02
Add type information for tui operations cmds 2020-03-10 22:25:57 +05:30
Kovid Goyal
7d690bbad2
Run mypy on CI 2020-03-09 18:24:55 +05:30
Kovid Goyal
ac2c21e046
more typing work 2020-03-09 16:13:00 +05:30
Kovid Goyal
7057bc663e
Implement proper editor integration for mypy 2020-03-08 14:39:46 +05:30
Kovid Goyal
1e998b6a3f
Use mypy in daemon mode 2020-03-05 20:38:51 +05:30
Kovid Goyal
d83a450260
A command for test.py to generate the typing stubs and run mypy 2020-03-05 15:58:30 +05:30
Kovid Goyal
462acf037b Remove unused code and pep8 2017-01-09 11:10:41 +05:30
Kovid Goyal
8c0b908222 Allow building with debug symbols
Also allow running individual tests
2016-11-07 13:23:03 +05:30
Kovid Goyal
355bfce189 Implement the fast draw path for single width characters 2016-10-18 11:04:30 +05:30
Kovid Goyal
adaf748852 Framework for testing 2016-10-16 20:36:27 +05:30