Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
03384de7
Commit
03384de7
authored
4 months ago
by
Mohammad Torkashvand
Browse files
Options
Downloads
Patches
Plain Diff
fix Skipping coverage report for jenkins
parent
5a97c665
No related branches found
No related tags found
No related merge requests found
Pipeline
#89826
failed
4 months ago
Stage: tox
Stage: documentation
Stage: sonarqube
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/conftest.py
+0
-6
0 additions, 6 deletions
test/conftest.py
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
1 addition
and
7 deletions
test/conftest.py
+
0
−
6
View file @
03384de7
...
...
@@ -49,12 +49,6 @@ from test.fixtures import ( # noqa: F401
logging
.
getLogger
(
"
faker.factory
"
).
setLevel
(
logging
.
WARNING
)
def
pytest_collection_modifyitems
(
config
,
items
):
if
bool
(
os
.
environ
.
get
(
"
SKIP_ALL_TESTS
"
)):
for
item
in
items
:
item
.
add_marker
(
pytest
.
mark
.
skip
(
reason
=
"
Skipped due to SKIP_ALL_TESTS env variable
"
))
class
UseJuniperSide
(
strEnum
):
"""
Define on tests on which side to use Juniper router.
"""
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
03384de7
...
...
@@ -20,7 +20,7 @@ commands =
ruff
check
--respect-gitignore
--preview
.
ruff
format
--respect-gitignore
--preview
--check
.
mypy
.
sh
-c
'
SKIP_ALL_TESTS
=
${SKIP_ALL_TESTS:-0};
if [
"
$SKIP_ALL_TESTS
"
=
"1"
]; then echo "Skipping coverage report"; else pytest --cov=gso --cov-report=xml --cov-report=html --cov-fail-under=85 -n auto; fi'
sh
-c
'if
[ $SKIP_ALL_TESTS =
1
]
; then echo "Skipping coverage report"; else pytest --cov=gso --cov-report=xml --cov-report=html --cov-fail-under=85 -n auto
{posargs}
; fi'
allowlist_externals
=
sh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment