File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 run : make install
2222 - name : Run tests
2323 run : make test
24- - name : Archive code coverage results
25- uses : actions/upload-artifact @v1
24+ - name : Upload coverage to Codecov 📝
25+ uses : " codecov/codecov-action @v1"
2626 with :
27- name : code-coverage-report
28- path : coverage-reports
29- if : always()
30-
31- sonarScan :
32- needs : build
33- name : SonarCloud Trigger
34- runs-on : ubuntu-latest
35- steps :
36- - name : Clone Repository
37- uses : actions/checkout@master
38- - name : Download code coverage results
39- uses : actions/download-artifact@v1
40- with :
41- name : code-coverage-report
42- path : coverage-reports
43- - name : Analyze with SonarCloud
44- uses : sonarsource/sonarcloud-github-action@master
45- env :
46- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
27+ fail_ci_if_error : true
28+ file : ./coverage-reports/coverage-report.xml
Original file line number Diff line number Diff line change 11# Stax SDK for Python
22` staxapp ` is the [ Stax] ( https://stax.io ) Software Development Kit (SDK) for Python, allowing users to interact with the Stax platform.
33
4- [ ![ Quality Gate Status ] ( https://sonarcloud .io/api/project_badges/measure?project= stax-labs_lib -stax-python-sdk&metric=alert_status&token=a1841dea3e7b4f749a99ea4351e95de1775f39fb )] ( https://sonarcloud .io/dashboard?id= stax-labs_lib -stax-python-sdk )
4+ [ ![ codecov ] ( https://codecov .io/gh/ stax-labs/lib -stax-python-sdk/branch/master/graph/badge.svg )] ( https://codecov .io/gh/ stax-labs/lib -stax-python-sdk )
55![ build] ( https://github.com/stax-labs/lib-stax-python-sdk/workflows/build/badge.svg )
66![ deploy] ( https://github.com/stax-labs/lib-stax-python-sdk/workflows/deploy/badge.svg )
77![ PyPI - Python Version] ( https://img.shields.io/pypi/pyversions/staxapp )
Original file line number Diff line number Diff line change 1+ ignore :
2+ - " setup.py"
3+ - " **/tests/**"
4+ - " **/examples/**"
5+ coverage :
6+ range : 80..100
7+ round : down
8+ precision : 2
9+ status :
10+ project :
11+ enabled : yes
12+ target : auto
13+ threshold : 0%
14+ comment :
15+ layout : diff, files
16+ behavior : new
17+ branches :
18+ - " master"
19+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments