File tree 3 files changed +42
-0
lines changed
3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : v1.0
2
+ name : Python
3
+ agent :
4
+ machine :
5
+ type : e1-standard-2
6
+ os_image : ubuntu1804
7
+ blocks :
8
+ - task :
9
+ secrets :
10
+ - name : codecov-workos-python
11
+ prologue :
12
+ commands :
13
+ - checkout
14
+ - sem-version python 2.7
15
+ - python -m pip install --upgrade pip
16
+ - pip install flake8 pytest
17
+ - sem-version python 3.7
18
+ - python -m pip install --upgrade pip
19
+ - pip install flake8 pytest pytest-cov
20
+ jobs :
21
+ - name : python
22
+ commands :
23
+ - sem-version python 2.7
24
+ - flake8 . --count --select=E9,F7,F82 --show-source --statistics
25
+ - flake8 . --count --exit-zero --max-complexity=10 --statistics
26
+ - pytest
27
+ # Coverage would be the same regardless of Python version
28
+ - name : python3 + codecov
29
+ commands :
30
+ - sem-version python 3.7
31
+ - flake8 . --count --select=E9,F7,F82 --show-source --statistics
32
+ - flake8 . --count --exit-zero --max-complexity=10 --statistics
33
+ - pytest --cov-report xml --cov=workos
34
+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change
1
+ coverage :
2
+ status :
3
+ project :
4
+ default :
5
+ only_pulls : true
6
+ threshold : 5
Original file line number Diff line number Diff line change
1
+ def test_placeholder ():
2
+ pass
You can’t perform that action at this time.
0 commit comments