-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathazureCI.yml
More file actions
48 lines (42 loc) · 752 Bytes
/
Copy pathazureCI.yml
File metadata and controls
48 lines (42 loc) · 752 Bytes
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
44
45
46
47
48
trigger:
branches:
include:
- '*'
paths:
include:
- sportcar
- test
- azureCI.yml
pr:
branches:
include:
- '*'
paths:
include:
- sportcar
- test
pool:
vmImage: ubuntu-latest
strategy:
matrix:
Python3.8:
python.version: '3.8'
Python3.9:
python.version: '3.9'
Python3.10:
python.version: '3.10'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- script: |
pip install poetry
displayName: 'Instalar poetry'
- script: |
poetry config virtualenvs.create false
poetry update && poetry install
displayName: 'Dependencias'
- script: |
invoke test
displayName: 'Tests'