Skip to content

Commit f3d9ac4

Browse files
committed
Add azure pipelines for testing
1 parent 37774fc commit f3d9ac4

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

azure-pipelines.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# https://docs.microsoft.com/azure/devops/pipelines/ecosystems/python
2+
pool:
3+
vmImage: "ubuntu-16.04"
4+
5+
steps:
6+
- task: UsePythonVersion@0
7+
inputs:
8+
versionSpec: '3.6'
9+
10+
- script: python -m pip install --upgrade pip setuptools wheel
11+
displayName: 'Install tools'
12+
13+
- script: pip install -r dev-requirements.txt
14+
displayName: 'Install dev requirements'
15+
16+
- script: pip install -e .
17+
displayName: 'Install r2d'
18+
19+
- script: pytest --durations 10 --cov repo2docker -v tests
20+
displayName: 'Run pytest'

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pytest>=3.6
55
wheel
66
pytest-cov
77
pre-commit
8+
requests

0 commit comments

Comments
 (0)