Skip to content

Commit

Permalink
Merge pull request #160 from NeurodataWithoutBorders/associate-codeco…
Browse files Browse the repository at this point in the history
…v-flag-for-each-testsuite

ci: Run each test-suite independently and label associated coverage report
  • Loading branch information
ajtritt committed Oct 23, 2017
2 parents 36b1989 + 9685f40 commit 9b5100f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ jobs:
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install -e .
coverage run --source src test.py
codecov
coverage run --source src test.py --pynwb
codecov -F pynwb
coverage run --source src test.py --integration
codecov -F integration
coverage run --source src test.py --form
codecov -F form
- run:
name: Test installation from a wheel for Python 2.7
command: |
Expand Down
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,9 @@ after_success:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install -e .
- coverage run --source src test.py
- codecov
- coverage run --source src test.py --pynwb
- codecov -F pynwb
- coverage run --source src test.py --integration
- codecov -F integration
- coverage run --source src test.py --form
- codecov -F form
8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ test_script:
- python %APPVEYOR_BUILD_FOLDER%\test.py

after_test:
- coverage run --source %APPVEYOR_BUILD_FOLDER%\src %APPVEYOR_BUILD_FOLDER%\test.py
- codecov
- coverage run --source %APPVEYOR_BUILD_FOLDER%\src %APPVEYOR_BUILD_FOLDER%\test.py --pynwb
- codecov -F pynwb
- coverage run --source %APPVEYOR_BUILD_FOLDER%\src %APPVEYOR_BUILD_FOLDER%\test.py --integration
- codecov -F integration
- coverage run --source %APPVEYOR_BUILD_FOLDER%\src %APPVEYOR_BUILD_FOLDER%\test.py --form
- codecov -F form
- pip install -U %APPVEYOR_BUILD_FOLDER%\dist\%WHEEL%
- python %APPVEYOR_BUILD_FOLDER%\test.py
- pip install -U %APPVEYOR_BUILD_FOLDER%\dist\pynwb-0.1.tar.gz
Expand Down

0 comments on commit 9b5100f

Please sign in to comment.