haystack
haystack copied to clipboard
test: Install Haystack with required extras in e2e tests workflow
Related Issues
- fixes https://github.com/deepset-ai/haystack/issues/5333
Proposed Changes:
We want to set up end-to-end tests and as a first step aim to re-enable the existing e2e workflow.
ToDo:
This PR is still in draft because we need to refactor the tests so that only end-to-end tests are triggered by the workflow. I updated the issue accordingly.
Notes for the reviewer
I tested the docker commands and pytest e2e/document_stores locally. The tests themselves took only 2 minutes.
I also tested pip install .[inference,elasticsearch7,faiss,weaviate,opensearch,dev] locally. Just had to add quotes because of zsh locally.
The GitHub action itself also runs through now too. Earlier there was an issue about opensearch still starting up when the first test was run.
Checklist
- I have read the contributors guidelines and the code of conduct
- I have updated the related issue with new insights and changes
- I added unit tests and updated the docstrings
- I've used one of the conventional commit types for my PR title:
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:. - I documented my code
- I ran pre-commit hooks and fixed any issue