Skip to content

Commit 98de7d1

Browse files
authored
Merge pull request #787 from willingc/test-pipe
Add baseline infra for Azure Pipelines
2 parents 75c2a24 + b3c2c19 commit 98de7d1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

azure-pipelines.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
# venv conda
20+
- script: pytest --durations 10 --cov repo2docker -vs tests/unit
21+
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)