Update testing.yml
add coverage request to nose
@@ -28,17 +28,11 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- # test suite
+ # tests suite & creates coverage report
- name: Test with nose
run: |
sudo apt-get install xvfb
- nosetests skrf --nocapture -c nose.cfg
- # create coverage report
- - name: Create Coverage report
- uses: romeovs/lcov-reporter-action@v0.2.16
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
- lcov-file: ./coverage/lcov.info
+ nosetests skrf --nocapture --with-coverage -c nose.cfg
# report coverage on PR
- name: Coveralls
uses: coverallsapp/github-action@master
