Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 30 additions & 17 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright 2022 The HuggingFace Authors.

name: e2e
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "e2e/**"
- "libs/**"
- "services/**"
- "docs/source/openapi.json"
- ".github/workflows/_e2e_tests.yml"
- ".github/workflows/_quality-python.yml"
- ".github/workflows/e2e.yml"
- "tools/Python.mk"
- "tools/docker-compose-dataset-viewer.yml"
pull_request:
jobs:
e2e-tests:
uses: ./.github/workflows/_e2e_tests.yml
secrets: inherit
with:
working-directory: e2e
steps:
- name: Install Dependencies with Poetry
run: |
poetry install --no-root
- name: Check for Missing Dependencies
run: |
if [ ! -d "path-to-required-package" ]; then echo "Missing package detected"; exit 1; fix
jobs:
e2e-tests:
uses: ./.github/workflows/_e2e_tests.yml
secrets: inherit
with:
working-directory: e2e
steps:
- name: Install Dependencies with Poetry
run: |
poetry install --no-root
- name: Check for Missing Dependencies
run: |
if [ ! -d "path-to-required-package" ]; then echo "Missing package detected"; exit 1; fi
- name: Setup Test Dataset
run: |
curl -X POST http://localhost:8000/datasets --data '{"id": "tmp-dataset-123"}'

paths:
- "e2e/**"
- "libs/**"
Expand Down