Skip to content

Commit da4a17a

Browse files
committed
update awesome
1 parent ee240dd commit da4a17a

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
trigger:
3+
- master
4+
5+
pool:
6+
vmImage: 'ubuntu-latest'
7+
strategy:
8+
matrix:
9+
Python35:
10+
python.version: '3.5'
11+
Python36:
12+
python.version: '3.6'
13+
Python37:
14+
python.version: '3.7'
15+
Python39:
16+
python.version: '3.9'
17+
18+
steps:
19+
- task: UsePythonVersion@0
20+
inputs:
21+
versionSpec: '$(python.version)'
22+
displayName: 'Use Python $(python.version)'
23+
24+
- script: |
25+
python -m pip install --upgrade pip
26+
pip install coverage
27+
displayName: 'Install coverage'
28+
29+
- script: |
30+
coverage run tests.py
31+
displayName: 'Run tests'
32+
33+
- script: |
34+
bash <(curl -s https://codecov.io/bash)
35+
displayName: 'Upload to codecov.io'
36+
- name: "Upload coverage to Codecov"
37+
uses: codecov/codecov-action@v1
38+
with:
39+
fail_ci_if_error: true

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ strategy:
1313
python.version: '3.6'
1414
Python37:
1515
python.version: '3.7'
16+
Python39:
17+
python.version: '3.9'
1618

1719
steps:
1820
- task: UsePythonVersion@0

0 commit comments

Comments
 (0)