[Notes] [Git][BuildStream/buildstream][chandan/toxify] 3 commits: tox.ini: Pass arguments to pytest command



Title: GitLab

Chandan Singh pushed to branch chandan/toxify at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -12,7 +12,7 @@ stages:
    12 12
     variables:
    
    13 13
       PYTEST_ADDOPTS: "--color=yes"
    
    14 14
       INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache"
    
    15
    -  TEST_COMMAND: 'tox'
    
    15
    +  TEST_COMMAND: 'tox -- --integration'
    
    16 16
     
    
    17 17
     
    
    18 18
     #####################################################
    
    ... ... @@ -35,7 +35,7 @@ variables:
    35 35
       - pip3 install tox
    
    36 36
       # Install compiler
    
    37 37
       - |
    
    38
    -    bash -c '{ apt-get update && apt-get install -y gcc } || { yum install -y gcc }'
    
    38
    +    bash -c '( apt-get update && apt-get install -y gcc ) || ( yum install -y gcc )'
    
    39 39
     
    
    40 40
       script:
    
    41 41
       - useradd -Um buildstream
    

  • tox.ini
    ... ... @@ -2,7 +2,7 @@
    2 2
     envlist = py35,py36
    
    3 3
     
    
    4 4
     [testenv]
    
    5
    -commands = pytest
    
    5
    +commands = pytest {posargs}
    
    6 6
     deps =
    
    7 7
         -rrequirements.txt
    
    8 8
         -rdev-requirements.txt



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