Skip to content

Commit ec2f3ca

Browse files
committed
Include previously unincluded coveragerc, other minor improvements
1 parent 608d0d8 commit ec2f3ca

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.coveragerc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[run]
2+
source = kernel_tuner
3+
omit = *test*, *examples*, *doc*
4+
5+
[report]
6+
exclude_lines =
7+
if __name__ == .__main__.:
8+
pragma: no cover

.github/workflows/test-python-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
uses: fjwillemsen/[email protected]
3030
- name: Setup Poetry
3131
uses: Gr1N/setup-poetry@v8
32+
- run: poetry self add poetry-plugin-export
3233
- name: Run tests with Nox
3334
run: |
3435
pip install nox-poetry

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ __pycache__
88
doc/build/*
99
doc/create_doc.sh
1010
push_to_pypi.sh
11-
*coverage*
11+
.coverage
1212
/dist
1313
/build
1414
*.egg-info

0 commit comments

Comments
 (0)