-
Notifications
You must be signed in to change notification settings - Fork 20
66 lines (55 loc) · 2.3 KB
/
Copy pathelasticsearch-tests.yml
File metadata and controls
66 lines (55 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# DEPRECATED: This workflow is deprecated in favor of fireworks-tracing-tests.yml
# The Elasticsearch integration tests have been replaced with Fireworks tracing tests
# This workflow is kept for backward compatibility but should be removed in the future
name: Elasticsearch Tests (Deprecated)
on:
# Disabled automatic triggers - only manual for backward compatibility
# push:
# branches: [main]
# paths-ignore:
# - "docs/**"
# - "*.md"
# pull_request: # Run on all pull requests
# paths-ignore:
# - "docs/**"
# - "*.md"
workflow_dispatch: # Allow manual triggering only
jobs:
elasticsearch-tests:
name: Elasticsearch Integration Tests (Deprecated)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Show Deprecation Notice
run: |
echo "⚠️ DEPRECATION NOTICE ⚠️"
echo "This workflow is deprecated. Use fireworks-tracing-tests.yml instead."
echo "Elasticsearch integration tests have been replaced with Fireworks tracing tests."
echo ""
echo "📋 New test file: tests/logging/test_fireworks_tracing_integration.py"
echo "🔄 New workflow: .github/workflows/fireworks-tracing-tests.yml"
- name: Run Deprecated Elasticsearch Tests
env:
FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
PYTHONWARNINGS: "ignore::DeprecationWarning,ignore::RuntimeWarning"
run: |
echo "Running deprecated Elasticsearch tests (these are skipped by default)..."
# Try to run the tests, but they should be skipped
uv run pytest tests/logging/test_elasticsearch_direct_http_handler.py -v --tb=short || true
echo ""
echo "ℹ️ Note: These tests are deprecated and skipped by default."
echo "Use the new Fireworks tracing tests instead:"
echo "uv run pytest tests/logging/test_fireworks_tracing_integration.py -v"