mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
commit
1154bca24f
4 changed files with 40 additions and 4 deletions
|
@ -21,17 +21,26 @@ jobs:
|
|||
|
||||
# Conda Environment
|
||||
# Create and activate a Conda environment.
|
||||
- task: CondaEnvironment@1
|
||||
inputs:
|
||||
packageSpecs: 'python=$(python.version) conda=4.5.11 pygments prompt_toolkit ply pytest pytest-timeout numpy psutil matplotlib flake8 coverage pyflakes pytest-cov pytest-flake8 codecov'
|
||||
installOptions: '-c conda-forge/label/cf201901'
|
||||
updateConda: false
|
||||
condition: eq(variables['python.version'], '3.5')
|
||||
displayName: 'Conda Environment (conda-forge/label/cf201901)'
|
||||
- task: CondaEnvironment@1
|
||||
inputs:
|
||||
packageSpecs: 'python=$(python.version) pygments prompt_toolkit ply pytest pytest-timeout numpy psutil matplotlib flake8 coverage pyflakes pytest-cov pytest-flake8 codecov'
|
||||
installOptions: '-c conda-forge'
|
||||
updateConda: false
|
||||
condition: ne(variables['python.version'], '3.5')
|
||||
displayName: 'Conda Environment (conda-forge)'
|
||||
- script: |
|
||||
pip install .
|
||||
xonsh run-tests.xsh --timeout=10 --junitxml=junit/test-results.xml
|
||||
displayName: 'Tests'
|
||||
|
||||
# Publish build results
|
||||
# Publish build results
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFiles: '**/test-*.xml'
|
||||
|
|
23
news/broke-sym.rst
Normal file
23
news/broke-sym.rst
Normal file
|
@ -0,0 +1,23 @@
|
|||
**Added:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Changed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Removed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* Made ``$PATH`` searching more robust to broken symlinks on Windows.
|
||||
|
||||
**Security:**
|
||||
|
||||
* <news item>
|
|
@ -1,12 +1,12 @@
|
|||
ply
|
||||
py
|
||||
pytest
|
||||
flake8
|
||||
pyflakes<2.1.0,>=2.0.0
|
||||
pytest-flake8
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
prompt-toolkit
|
||||
pygments>=2.2
|
||||
codecov
|
||||
flake8
|
||||
pyflakes
|
||||
coverage
|
||||
|
|
|
@ -790,7 +790,11 @@ def _executables_in_windows(path):
|
|||
yield fname
|
||||
else:
|
||||
for x in scandir(path):
|
||||
if x.is_file():
|
||||
try:
|
||||
is_file = x.is_file()
|
||||
except OSError:
|
||||
continue
|
||||
if is_file:
|
||||
fname = x.name
|
||||
else:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue