mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
more CI test fixes
This commit is contained in:
parent
e79df59103
commit
59ce28710d
2 changed files with 9 additions and 2 deletions
|
@ -21,17 +21,24 @@ jobs:
|
|||
|
||||
# Conda Environment
|
||||
# Create and activate a Conda environment.
|
||||
- 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/label/cf201901'
|
||||
updateConda: false
|
||||
condition: eq(variables['python.version'], '3.5')
|
||||
- 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')
|
||||
- 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'
|
||||
|
|
|
@ -2,7 +2,7 @@ ply
|
|||
py
|
||||
pytest
|
||||
flake8
|
||||
pyflakes
|
||||
pyflakes<2.1.0,>=2.0.0
|
||||
pytest-flake8
|
||||
pytest-cov
|
||||
pytest-timeout
|
||||
|
|
Loading…
Add table
Reference in a new issue