File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 4343 run : pip install hatch
4444
4545 - name : Run tests
46- run : hatch run test
46+ run : hatch run test:pytest
4747
4848
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ classifiers = [
2424 " Programming Language :: Python :: Implementation :: CPython" ,
2525 " Programming Language :: Python :: Implementation :: PyPy" ,
2626]
27- dependencies = []
27+ dependencies = [
28+ " pytest" ,
29+ ]
2830
2931[project .urls ]
3032Documentation = " https://github.com/Rashicom/meow#readme"
@@ -50,12 +52,19 @@ omit = [
5052]
5153
5254[tool .coverage .paths ]
53- meow = [" meow" , " */src/ meow" ]
54- tests = [" tests" , " */meow/ tests" ]
55+ meow = [" meow" , " */meow" ]
56+ tests = [" tests" , " */tests" ]
5557
5658[tool .coverage .report ]
5759exclude_lines = [
5860 " no cov" ,
5961 " if __name__ == .__main__.:" ,
6062 " if TYPE_CHECKING:" ,
6163]
64+
65+
66+ [tool .hatch .envs .test ]
67+ dependencies = [
68+ " pytest" ,
69+ " pytest-cov"
70+ ]
Original file line number Diff line number Diff line change 1+
2+ def test_simple ():
3+ assert 1 == 1
You can’t perform that action at this time.
0 commit comments