File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,17 @@ jobs:
57
57
id : tests
58
58
run : hatch run cov
59
59
60
+ - name : Generate docs
61
+ if : matrix.python-version == '3.9' && runner.os == 'Linux'
62
+ run : hatch run docs
63
+
60
64
- name : Nightly - run unit tests with Haystack main branch
61
65
if : github.event_name == 'schedule'
62
66
id : nightly-haystack-main
63
67
run : |
64
68
hatch run pip install git+https://github.com/deepset-ai/haystack.git
65
69
hatch run test -m "not integration"
66
-
70
+
67
71
- name : Send event to Datadog for nightly failures
68
72
if : failure() && github.event_name == 'schedule'
69
73
uses : ./.github/actions/send_failure
72
76
core-integrations failure:
73
77
${{ (steps.tests.conclusion == 'nightly-haystack-main') && 'nightly-haystack-main' || 'tests' }}
74
78
- ${{ github.workflow }}
75
- api-key : ${{ secrets.CORE_DATADOG_API_KEY }}
79
+ api-key : ${{ secrets.CORE_DATADOG_API_KEY }}
Original file line number Diff line number Diff line change 5
5
[
6
6
" haystack_integrations.components.embedders.nvidia.document_embedder" ,
7
7
" haystack_integrations.components.embedders.nvidia.text_embedder" ,
8
- " haystack_integrations.components.embedders .nvidia.models " ,
8
+ " haystack_integrations.components.generators .nvidia.generator " ,
9
9
]
10
10
ignore_when_discovered : ["__init__"]
11
11
processors :
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ test = "pytest {args:tests}"
47
47
test-cov = " coverage run -m pytest {args:tests}"
48
48
cov-report = [" - coverage combine" , " coverage report" ]
49
49
cov = [" test-cov" , " cov-report" ]
50
- docs = [" echo 'skip doc gen' " ]
50
+ docs = [" pydoc-markdown pydoc/config.yml " ]
51
51
52
52
[[tool .hatch .envs .all .matrix ]]
53
53
python = [" 3.8" , " 3.9" , " 3.10" , " 3.11" ]
@@ -136,12 +136,8 @@ parallel = false
136
136
137
137
[tool .coverage .report ]
138
138
omit = [" */tests/*" , " */__init__.py" ]
139
- show_missing =true
140
- exclude_lines = [
141
- " no cov" ,
142
- " if __name__ == .__main__.:" ,
143
- " if TYPE_CHECKING:" ,
144
- ]
139
+ show_missing = true
140
+ exclude_lines = [" no cov" , " if __name__ == .__main__.:" , " if TYPE_CHECKING:" ]
145
141
146
142
147
143
[[tool .mypy .overrides ]]
You can’t perform that action at this time.
0 commit comments