Merge branch 'main' into fix_bad_file_descriptor

This commit is contained in:
Andy Kipp 2024-08-09 14:03:02 +02:00 committed by GitHub
commit ad77f6d2a9
Failed to generate hash of commit
3 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[run] [run]
branch = true #branch = true
source = source =
xonsh/ xonsh/
xontrib/ xontrib/

View file

@ -44,6 +44,7 @@ xonsh
p'/etc/passwd'.read_text().find('root') p'/etc/passwd'.read_text().find('root')
xontrib load dalias
id = $(@json docker ps --format json)['ID'] id = $(@json docker ps --format json)['ID']
- .. code-block:: python - .. code-block:: python
@ -52,6 +53,7 @@ xonsh
echo @(name) > /tmp/@(name) echo @(name) > /tmp/@(name)
ls @(input('file: ')) ls @(input('file: '))
touch @([f"file{i}" for i in range(0,10)])
aliases['e'] = 'echo @(2+2)' aliases['e'] = 'echo @(2+2)'
aliases['a'] = lambda args: print(args) aliases['a'] = lambda args: print(args)

View file

@ -45,6 +45,7 @@ def test(
""" """
if report_cov: if report_cov:
$COVERAGE_CORE="sysmon"
![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term] ![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term]
else: else:
# during CI run, some tests take longer to complete on windows # during CI run, some tests take longer to complete on windows