Add coverage and fix bugs in package

This commit is contained in:
Ege Emir Özkan
2020-08-10 03:59:11 +03:00
parent f168b78ba5
commit 5077629855
4 changed files with 4 additions and 2 deletions

View File

@@ -34,5 +34,5 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TESTING_KEY }}
with:
coverageCommand: coverage run -m unittest test/main_tests.py && coverage xml
coverageCommand: sh coverage.sh
debug: true

2
coverage.sh Normal file
View File

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

View File

@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="datalite", # Replace with your own username
version="0.4.0",
version="0.4.1",
author="Ege Ozkan",
author_email="egeemirozkan24@gmail.com",
description="A small package that binds dataclasses to an sqlite database",

BIN
test.db Normal file

Binary file not shown.