Add coverage and fix bugs in package
This commit is contained in:
2
.github/workflows/test_ci.yml
vendored
2
.github/workflows/test_ci.yml
vendored
@@ -34,5 +34,5 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TESTING_KEY }}
|
CC_TEST_REPORTER_ID: ${{ secrets.CC_TESTING_KEY }}
|
||||||
with:
|
with:
|
||||||
coverageCommand: coverage run -m unittest test/main_tests.py && coverage xml
|
coverageCommand: sh coverage.sh
|
||||||
debug: true
|
debug: true
|
||||||
|
|||||||
2
coverage.sh
Normal file
2
coverage.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
coverage run -m unittest test/main_tests.py
|
||||||
|
coverage xml
|
||||||
2
setup.py
2
setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="datalite", # Replace with your own username
|
name="datalite", # Replace with your own username
|
||||||
version="0.4.0",
|
version="0.4.1",
|
||||||
author="Ege Ozkan",
|
author="Ege Ozkan",
|
||||||
author_email="egeemirozkan24@gmail.com",
|
author_email="egeemirozkan24@gmail.com",
|
||||||
description="A small package that binds dataclasses to an sqlite database",
|
description="A small package that binds dataclasses to an sqlite database",
|
||||||
|
|||||||
Reference in New Issue
Block a user