Add coverage to the github action.
This commit is contained in:
1
.github/workflows/test_ci.yml
vendored
1
.github/workflows/test_ci.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install coverage
|
||||
- name: Test & publish code coverage
|
||||
uses: paambaati/codeclimate-action@v2.6.0
|
||||
env:
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
coverage run -m unittest test/main_tests.py
|
||||
coverage xml
|
||||
coverage xml
|
||||
|
||||
Reference in New Issue
Block a user