-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add codecov.yml * Add codecov upload to ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update ci.yml * Update README.md * Update codecov.yml * Update ci.yml Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
98ca628
commit 432b120
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ jobs: | |
- 3.7 | ||
- 3.8 | ||
- 3.9 | ||
|
||
name: Check Python ${{ matrix.python-version }} | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -44,6 +45,14 @@ jobs: | |
env: | ||
SYNTHESIZED_KEY: ${{ secrets.SYNTHESIZED_KEY }} | ||
|
||
- name: Upload Codecov report | ||
if: ${{ matrix.python-version }} == '3.7' | ||
uses: codecov/[email protected] | ||
with: | ||
files: coverage-reports/cobertura.xml | ||
flags: unittests | ||
fail_ci_if_error: false | ||
|
||
- name: SonarCloud Scan | ||
if: ${{ matrix.python-version }} == '3.7' | ||
uses: SonarSource/sonarcloud-github-action@master | ||
|
@@ -57,7 +66,7 @@ jobs: | |
build-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2.3.4 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
target: auto # auto compares coverage to the previous base commit | ||
threshold: 1% | ||
patch: | ||
default: | ||
target: 50% | ||
... |