Skip to content

Commit 1480979

Browse files
authored
Move rarely-used tests into 'code coverage' tests (#2848)
These tests will still be executed in CI/CD pipelines, but will not be executed locally when doing 'git push' with pre-commit installed.
1 parent c0ae0f3 commit 1480979

File tree

84 files changed

+142
-906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+142
-906
lines changed

tests/coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22
coverage erase
3-
PYTHONPATH="../" coverage run --source ../netsim -m pytest
3+
PYTHONPATH="../" coverage run --source ../netsim -m pytest -k 'coverage or error'
44
coverage html
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
IncorrectType in yaml: Duplicate section in YAML file: nodes
2+
Fatal error in netlab: Cannot read YAML from coverage/errors/duplicate-yaml-section.yml: Duplicate section nodes
3+
in "coverage/errors/duplicate-yaml-section.yml", line 2, column 1

0 commit comments

Comments
 (0)