it's moving day
@@ -84,21 +84,20 @@ jobs:
pip install -r requirements.txt
displayName: 'Install dependencies'
- - script: python -m pytest spacy
- displayName: 'Run tests'
-
- script: |
python setup.py build_ext --inplace
python setup.py sdist --formats=gztar
displayName: 'Compile and build sdist'
- - task: DeleteFiles@1
- inputs:
- contents: 'spacy'
- displayName: 'Delete source directory'
-
- bash: |
SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1)
pip install dist/$SDIST
displayName: 'Install from sdist'
+ - script: python -m pytest spacy
+ displayName: 'Run tests'
+
+ - task: DeleteFiles@1
+ inputs:
+ contents: 'spacy'
+ displayName: 'Delete source directory'
