mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-30 16:47:19 +00:00
* ci: unify dependency management + hatch scripts * ci: migrate readme sync * build: migrate snippets * ci: pin hatch * ci: make Python version more explicit + quote * ci: add scripts with parameters to hatch --------- Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>
39 lines
788 B
YAML
39 lines
788 B
YAML
# If you change this name also do it in ci_metrics.yml
|
|
name: end-to-end
|
|
|
|
on:
|
|
workflow_dispatch: # Activate this workflow manually
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
- ready_for_review
|
|
paths:
|
|
- "e2e/**/*.py"
|
|
- ".github/workflows/e2e.yml"
|
|
|
|
env:
|
|
PYTHON_VERSION: "3.8"
|
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
HATCH_VERSION: "1.9.3"
|
|
|
|
jobs:
|
|
run:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "${{ env.PYTHON_VERSION }}"
|
|
|
|
- name: Install Hatch
|
|
run: pip install hatch==${{ env.HATCH_VERSION }}
|
|
|
|
- name: Run tests
|
|
run: hatch run test:e2e
|