[Notes] [Git][BuildStream/bst-external][1-coverage-report-not-combined] Report coverage for bst-external, not buildstream



Title: GitLab

Jonathan Maw pushed to branch 1-coverage-report-not-combined at BuildStream / bst-external

Commits:

2 changed files:

Changes:

  • .coveragerc
    1 1
     [run]
    
    2 2
     concurrency = multiprocessing
    
    3 3
     include =
    
    4
    -  */buildstream/*
    
    5
    -  */bst-external/*
    
    6
    -
    
    7
    -omit =
    
    8
    -  # Omit profiling helper module
    
    9
    -  */buildstream/_profile.py
    
    4
    +  *bst_external/elements/*
    
    5
    +  *bst_external/sources/*
    
    10 6
     
    
    11 7
     [report]
    
    12 8
     show_missing = True
    
    13 9
     precision = 2
    
    14 10
     
    
    15 11
     [paths]
    
    16
    -buildstream =
    
    17
    -    buildstream/
    
    18
    -    */site-packages/buildstream/
    
    19
    -    */buildstream/buildstream/
    
    20
    -bst-external-elements =
    
    21
    -    bst_external/elements/
    
    22
    -    */site-packages/bst_external/elements
    12
    +bst-external =
    
    13
    +    bst_external/
    
    14
    +    */site-packages/bst_external/

  • setup.cfg
    ... ... @@ -2,7 +2,7 @@
    2 2
     test=pytest
    
    3 3
     
    
    4 4
     [tool:pytest]
    
    5
    -addopts = --verbose --basetemp ./tmp --cov=buildstream --cov-config .coveragerc
    
    5
    +addopts = --verbose --basetemp ./tmp --cov=bst_external --cov-config .coveragerc
    
    6 6
     norecursedirs = integration-cache tmp __pycache__ .eggs
    
    7 7
     python_files = tests/*.py # Notice this line is different to main repo
    
    8 8
     pep8maxlinelength = 119
    
    ... ... @@ -15,4 +15,4 @@ pep8ignore =
    15 15
         */bin/* ALL
    
    16 16
         .eggs/* ALL
    
    17 17
     env =
    
    18
    -    D:BST_TEST_SUITE=True
    \ No newline at end of file
    18
    +    D:BST_TEST_SUITE=True



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]