File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,25 +28,26 @@ jobs:
2828 python entrypoint.py --repo-id google-bert/bert-base-uncased
2929 env :
3030 HF_TOKEN : ${{ secrets.HF_TOKEN }}
31-
32- docker :
31+
32+ testdocker :
3333 runs-on : ubuntu-latest
3434 needs : test
3535 steps :
3636 - name : Checkout
3737 uses : actions/checkout@v4
3838
39- - name : Build Docker Action
39+ - name : Build Docker Image
4040 run : docker build -t hf-model-inspector .
4141
42- - name : Run Action (entrypoint.py)
42+ - name : Run Model Inspector inside Docker
4343 run : |
4444 docker run --rm \
45+ -e HF_TOKEN=${{ secrets.HF_TOKEN }} \
4546 -v ${{ github.workspace }}:/app \
4647 hf-model-inspector \
4748 python /app/entrypoint.py --repo-id moonshotai/Kimi-K2-Instruct-0905
4849
49- - name : Check outputs
50+ - name : Verify Outputs
5051 run : |
5152 ls -lh
52- cat model_inspection_report.md
53+ cat model_inspection_report.md || echo "⚠️ No report generated"
Original file line number Diff line number Diff line change 1- name : Test HF Model Inspector
1+ name : Test HF Model Inspector(GH Marketplace)
22
33on :
44 workflow_dispatch :
Original file line number Diff line number Diff line change 1- name : Test HF Model Inspector
1+ name : Test HF Model Inspector(Smoke Test)
22
33on :
44 push :
You can’t perform that action at this time.
0 commit comments