Add coverage to the github action.

This commit is contained in:
Ege Emir Özkan
2021-05-08 18:48:08 +03:00
parent 29f538a7d7
commit 2219968870
2 changed files with 2 additions and 1 deletions

View File

@@ -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:

View File

@@ -1,2 +1,2 @@
coverage run -m unittest test/main_tests.py
coverage xml
coverage xml