Merge pull request #787 from willingc/test-pipe

Add baseline infra for Azure Pipelines
pull/789/head
Carol Willing 2019-09-08 11:10:17 +02:00 zatwierdzone przez GitHub
commit 98de7d1630
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 22 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,21 @@
# https://docs.microsoft.com/azure/devops/pipelines/ecosystems/python
pool:
vmImage: "ubuntu-16.04"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
- script: python -m pip install --upgrade pip setuptools wheel
displayName: 'Install tools'
- script: pip install -r dev-requirements.txt
displayName: 'Install dev requirements'
- script: pip install -e .
displayName: 'Install r2d'
# venv conda
- script: pytest --durations 10 --cov repo2docker -vs tests/unit
displayName: 'Run pytest'

Wyświetl plik

@ -5,3 +5,4 @@ pytest>=3.6
wheel
pytest-cov
pre-commit
requests