forked from explosion/projects
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines.yml
43 lines (38 loc) · 1.29 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# TODO: enable again
trigger:
batch: true
branches:
include:
- 'v3'
variables:
# Make sure we're exiting training as early as possible
SPACY_CONFIG_OVERRIDES: '--training.max_epochs=1 --training.max_steps=1'
WASABI_LOG_FRIENDLY: 1
jobs:
- job: 'Test'
strategy:
matrix:
Python37Linux:
imageName: 'ubuntu-18.04'
python.version: '3.7'
Python37Windows:
imageName: 'vs2017-win2016'
python.version: '3.7'
maxParallel: 4
pool:
vmImage: $(imageName)
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- script: |
pip install "spacy>=3.1.0,<3.2.0"
pip install pytest
pip install wheel
pip install "numpy<1.20.0"
pip install "spacy_lookups_data>=1.0.2,<1.1.0"
pip install torch==1.7.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
displayName: 'Install dependencies'
- script: python -m pytest -s benchmarks experimental integrations pipelines tutorials
displayName: 'Run tests'