Repository navigation
135 lines (132 loc) · 3.84 KB
/
Copy pathCI_coverage_comment.yml
File metadata and controls
135 lines (132 loc) · 3.84 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: Core / Add comment about test coverage to PRs
on:
workflow_run:
workflows:
- "Test / agent_pack"
- "Test / aimlapi"
- "Test / alloydb"
- "Test / amazon-bedrock"
- "Test / amazon-sagemaker"
- "Test / amazon-textract"
- "Test / anthropic"
- "Test / arangodb"
- "Test / arcadedb"
- "Test / astra"
- "Test / brave"
- "Test / azure_ai_search"
- "Test / azure_doc_intelligence"
- "Test / azure_documentdb"
- "Test / azure_form_recognizer"
- "Test / chonkie"
- "Test / chroma"
- "Test / cognee"
- "Test / cohere"
- "Test / cometapi"
- "Test / datadog"
- "Test / ddgs"
- "Test / deepeval"
- "Test / docling"
- "Test / docling_serve"
- "Test / dspy"
- "Test / dynamodb"
- "Test / e2b"
- "Test / edenai"
- "Test / elasticsearch"
- "Test / faiss"
- "Test / falkordb"
- "Test / fastembed"
- "Test / firecrawl"
- "Test / funasr"
- "Test / github"
- "Test / google-genai"
- "Test / google_drive"
- "Test / gotenberg"
- "Test / hanlp"
- "Test / hetzner"
- "Test / huggingface_api"
- "Test / ibm_db"
- "Test / jina"
- "Test / kreuzberg"
- "Test / langdetect"
- "Test / langfuse"
- "Test / lara"
- "Test / libreoffice"
- "Test / linkup"
- "Test / litellm"
- "Test / llama_cpp"
- "Test / llama_stack"
- "Test / markitdown"
- "Test / mcp"
- "Test / mem0"
- "Test / microsoft_sharepoint"
- "Test / mirage"
- "Test / mistral"
- "Test / mongodb_atlas"
- "Test / monty"
- "Test / nvidia"
- "Test / oauth"
- "Test / ollama"
- "Test / openapi"
- "Test / opendataloader_pdf"
- "Test / openrouter"
- "Test / opensearch"
- "Test / opentelemetry"
- "Test / optimum"
- "Test / oracle"
- "Test / orcarouter"
- "Test / otari"
- "Test / paddleocr"
- "Test / parallel"
- "Test / perplexity"
- "Test / pgvector"
- "Test / pinecone"
- "Test / presidio"
- "Test / pyversity"
- "Test / qdrant"
- "Test / ragas"
- "Test / rhesis"
- "Test / searchapi"
- "Test / sentence_transformers"
- "Test / serperdev"
- "Test / snowflake"
- "Test / solr"
- "Test / spacy"
- "Test / sqlalchemy"
- "Test / stackit"
- "Test / supabase"
- "Test / tavily"
- "Test / tika"
- "Test / togetherai"
- "Test / transformers"
- "Test / twelvelabs"
- "Test / typesafe"
- "Test / unstructured"
- "Test / valkey"
- "Test / vespa"
- "Test / vllm"
- "Test / watsonx"
- "Test / weave"
- "Test / weaviate"
- "Test / whisper"
- "Test / youcom"
types: [completed]
jobs:
comment:
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Get integration name from workflow name
id: integration
run: |
# Workflow names follow "Test / <name>" convention; normalize hyphens to underscores to match directory names
echo "name=$(echo '${{ github.event.workflow_run.name }}' | sed 's/Test \/ //' | tr '-' '_')" >> "$GITHUB_OUTPUT"
- uses: py-cov-action/python-coverage-comment-action@e5fb2218463c3377f3504b0c5b5646ed53da7a2f # v4.5
with:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
SUBPROJECT_ID: ${{ steps.integration.outputs.name }}
COMMENT_ARTIFACT_NAME: coverage-comment-${{ steps.integration.outputs.name }}
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60