File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 16
16
with :
17
17
fetch-depth : 0
18
18
19
+
20
+ with :
21
+ python-version : 3.9
22
+
23
+ - run : pip install -r requirements.txt
24
+
25
+ - run : pip install -e .[dev]
26
+
27
+ - run : pytest --cov=yoti_python_sdk yoti_python_sdk/tests --cov-report=xml:coverage-reports/coverage-new.xml
28
+
29
+ - run : sed -i 's+<source>.*</source>+<source>/home/travis/build/getyoti/yoti-python-sdk/yoti_python_sdk</source>+g' coverage-reports/coverage-new.xml
30
+
19
31
- uses : sonarsource/sonarcloud-github-action@master
20
32
env :
21
33
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# Yoti Python SDK #
2
2
3
- [ ![ Build Status] ( https://travis-ci .com/getyoti/yoti-python -sdk.svg?branch=master )] ( https://travis-ci .com/getyoti/yoti-python -sdk )
3
+ [ ![ Build Status] ( https://github .com/getyoti/yoti-java -sdk/workflows/Unit%20Test/badge .svg?branch=master )] ( https://github .com/getyoti/yoti-java -sdk/actions )
4
4
[ ![ Coverage] ( https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=coverage )] ( https://sonarcloud.io/dashboard?id=getyoti%3Apython )
5
5
[ ![ Bugs] ( https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=bugs )] ( https://sonarcloud.io/dashboard?id=getyoti%3Apython )
6
6
[ ![ Code Smells] ( https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=code_smells )] ( https://sonarcloud.io/dashboard?id=getyoti%3Apython )
You can’t perform that action at this time.
0 commit comments