Skip to content

Commit f820b44

Browse files
committed
moved pytest options to pyproject.toml
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
1 parent 43aa406 commit f820b44

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
codecov:
22
notify:
3-
after_n_builds: 2
3+
after_n_builds: 3
44

55
comment:
66
require_changes: true

.github/workflows/analysis-coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
141141
- name: Generate coverage report
142142
working-directory: nc_py_api
143-
run: coverage run -m pytest -rs && coverage xml && coverage html
143+
run: coverage run -m pytest && coverage xml && coverage html
144144

145145
- name: HTML coverage to artifacts
146146
uses: actions/upload-artifact@v3
@@ -269,7 +269,7 @@ jobs:
269269
270270
- name: Generate coverage report
271271
working-directory: nc_py_api
272-
run: coverage run -m pytest -rs && coverage xml && coverage html
272+
run: coverage run -m pytest && coverage xml && coverage html
273273

274274
- name: HTML coverage to artifacts
275275
uses: actions/upload-artifact@v3
@@ -394,7 +394,7 @@ jobs:
394394
395395
- name: Generate coverage report
396396
working-directory: nc_py_api
397-
run: coverage run -m pytest -rs && coverage xml && coverage html
397+
run: coverage run -m pytest && coverage xml && coverage html
398398
env:
399399
SKIP_NC_WO_AE: 1
400400

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ filterwarnings = [
2121
"ignore::DeprecationWarning",
2222
]
2323
log_cli = true
24-
addopts = "--color=yes"
24+
addopts = "-rs --color=yes"
2525

2626
[tool.coverage.run]
2727
cover_pylib = true

0 commit comments

Comments
 (0)