Make sure only novelwriter source files are included in coverage
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: Install Packages (apt)
|
- name: Install Packages (apt)
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install libenchant-2-dev qttools5-dev-tools
|
sudo apt install qttools5-dev-tools
|
||||||
|
|
||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|||||||
@@ -160,6 +160,7 @@ markers = [
|
|||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
branch = false
|
branch = false
|
||||||
|
source = ["novelwriter"]
|
||||||
|
|
||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
precision = 2
|
precision = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user