CI: install httpx to run tests (#3565)

* install httpx to run tests

* try
This commit is contained in:
Massimiliano Pippi 2022-11-14 12:52:04 +01:00 committed by GitHub
parent 4dfddf0d10
commit 7af22cd98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -622,7 +622,7 @@ jobs:
- name: Install REST API and UI - name: Install REST API and UI
run: | run: |
pip install -U rest_api/ pip install -U "./rest_api[dev]"
pip install -U ui/ pip install -U ui/
pip install . # -U prevents the schema generation pip install . # -U prevents the schema generation

View File

@ -35,6 +35,11 @@ dependencies = [
] ]
dynamic = ["version"] dynamic = ["version"]
[project.optional-dependencies]
dev = [
"httpx"
]
[project.urls] [project.urls]
Documentation = "https://github.com/deepset-ai/haystack/tree/main/rest_api#readme" Documentation = "https://github.com/deepset-ai/haystack/tree/main/rest_api#readme"
Issues = "https://github.com/deepset-ai/haystack/issues" Issues = "https://github.com/deepset-ai/haystack/issues"