Skip to content

Commit dd45e40

Browse files
committed
Merge branch 'main' into dev/search_r1_v02
2 parents 77dfa41 + 087c7d3 commit dd45e40

File tree

168 files changed

+20056
-7547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+20056
-7547
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Badge - ChartQA
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- Examples - ChartQA
7+
types: [completed]
8+
9+
workflow_dispatch:
10+
11+
permissions:
12+
actions: read
13+
contents: read
14+
15+
jobs:
16+
badge:
17+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main') }}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/github-script@v8
22+
with:
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
script: |
25+
const badgeAggregation = require('./scripts/badge_aggregation.js');
26+
const dependencies = [
27+
{ workflow: 'examples-chartqa.yml', label: 'chartqa', variants: ['stable'] },
28+
];
29+
await badgeAggregation({ github, context, core, dependencies });

.github/workflows/badge-examples.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- Examples - Tinker
1111
- Examples - Azure
1212
- Examples - Claude Code
13+
- Examples - RAG
14+
- Examples - ChartQA
1315
types: [completed]
1416

1517
workflow_dispatch:
@@ -37,5 +39,7 @@ jobs:
3739
{ workflow: 'examples-tinker.yml', label: 'examples-tinker.stable', variants: ['stable'] },
3840
{ workflow: 'examples-azure.yml', label: 'examples-azure.stable', variants: ['stable'] },
3941
{ workflow: 'examples-claude-code.yml', label: 'examples-claude-code.stable', variants: ['stable'] },
42+
{ workflow: 'examples-rag.yml', label: 'examples-rag.stable', variants: ['stable'] },
43+
{ workflow: 'examples-chartqa.yml', label: 'examples-chartqa.stable', variants: ['stable'] },
4044
];
4145
await badgeAggregation({ github, context, core, dependencies });

.github/workflows/badge-latest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- Examples - Spider
88
- Examples - APO
99
- Examples - Unsloth
10+
- Examples - RAG
11+
- Examples - Claude Code
1012
- GPU Test
1113
types: [completed]
1214

@@ -32,6 +34,8 @@ jobs:
3234
{ workflow: 'examples-spider.yml', label: 'spider.latest', variants: ['latest'] },
3335
{ workflow: 'examples-apo.yml', label: 'apo.latest', variants: ['latest'] },
3436
{ workflow: 'examples-unsloth.yml', label: 'unsloth.latest', variants: ['latest'] },
37+
{ workflow: 'examples-claude-code.yml', label: 'claude-code.latest', variants: ['latest'] },
38+
{ workflow: 'examples-rag.yml', label: 'rag.latest', variants: ['latest'] },
3539
{ workflow: 'tests-full.yml', label: 'tests-full.latest', variants: ['latest'] },
3640
];
3741
await badgeAggregation({ github, context, core, dependencies });

.github/workflows/badge-rag.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Badge - RAG
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- Examples - RAG
7+
types: [completed]
8+
9+
workflow_dispatch:
10+
11+
permissions:
12+
actions: read
13+
contents: read
14+
15+
jobs:
16+
badge:
17+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main') }}
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/github-script@v8
22+
with:
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
script: |
25+
const badgeAggregation = require('./scripts/badge_aggregation.js');
26+
const dependencies = [
27+
{ workflow: 'examples-rag.yml', label: 'rag', variants: ['legacy', 'stable'] },
28+
];
29+
await badgeAggregation({ github, context, core, dependencies });

.github/workflows/badge-spider.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
script: |
2525
const badgeAggregation = require('./scripts/badge_aggregation.js');
2626
const dependencies = [
27-
{ workflow: 'examples-spider.yml', label: 'spider', variants: ['stable', 'legacy'] },
27+
{ workflow: 'examples-spider.yml', label: 'spider', variants: ['stable'] },
2828
];
2929
await badgeAggregation({ github, context, core, dependencies });

0 commit comments

Comments
 (0)