Skip to content

Commit

Permalink
添加大模型推理和ai编译器习题 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
onenewcode authored Jan 8, 2025
1 parent f84cc35 commit fe858d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GitHub Classroom Workflow

on:
push:
branches: [ main,dev ]
branches: [ main,dev]
paths-ignore:
- 'README.md'
pull_request:
Expand Down Expand Up @@ -250,6 +250,7 @@ jobs:
points: ${{ steps.autograding.outputs.points}}
env:
API_URL: ${{ needs.initialize.outputs.api_url }}
TOKEN: ${{ needs.initialize.outputs.token }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -346,7 +347,7 @@ jobs:
new_json=$(jq -n \
--arg channel "github" \
--argjson courseId 1701 \
--argjson courseId 1753 \
--arg ext "aaa" \
--arg name "$pr1_user" \
--argjson score "$total_succeeds" \
Expand All @@ -362,6 +363,7 @@ jobs:
curl -X POST "$API_URL" \
-H "accept: application/json;charset=utf-8" \
-H "Content-Type: application/json" \
-H "token: $TOKEN"\
-d "$(cat $summary_file)" \
-v
Expand Down Expand Up @@ -475,7 +477,7 @@ jobs:
# 生成新的 JSON 内容
new_json=$(jq -n \
--arg channel "github" \
--argjson courseId 1703 \
--argjson courseId 1754 \
--arg ext "aaa" \
--arg name "$pr2_user" \
--argjson score "$total_succeeds" \
Expand Down

0 comments on commit fe858d6

Please sign in to comment.