Revert other changes

This commit is contained in:
Ines Montani 2020-02-25 15:48:29 +01:00
parent c1a5ece65f
commit 436b26fe0f
2 changed files with 6 additions and 7 deletions

View File

@ -4,6 +4,5 @@ include LICENSE
include README.md
include bin/spacy
include pyproject.toml
include requirements.txt
recursive-exclude spacy/lang *.json
recursive-include spacy/lang *.json.gz

View File

@ -83,15 +83,15 @@ jobs:
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
- script: python -m pytest --pyargs spacy
displayName: 'Run tests'
- task: DeleteFiles@1
inputs:
contents: 'spacy'
displayName: 'Delete source directory'