forked from explosion/projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
41 lines (36 loc) · 1.04 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
# 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-latest'
python.version: '3.7'
Python37Windows:
imageName: 'windows-latest'
python.version: '3.7'
maxParallel: 4
pool:
vmImage: $(imageName)
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- script: |
pip install "spacy>=3.2.0,<3.5.0"
pip install pytest
pip install wheel
displayName: 'Install dependencies'
- task: Bash@3
inputs:
filePath: 'run-tests.sh'