Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/test_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,22 @@ jobs:
env:
USER: runner

# Remove the existing test repo if it exists so we test repo creation in the upload step
- name: Delete existing test repo
run: |
curl -sf -X DELETE \
"${{ env.HF_ENDPOINT }}/api/repos/delete" \
-H "Authorization: Bearer ${{ secrets.HF_STAGING_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"type":"kernel","organization":"__DUMMY_KERNELS_USER__","name":"kernels-upload-test"}' \
|| true
curl -sf -X DELETE \
"${{ env.HF_ENDPOINT }}/api/repos/delete" \
-H "Authorization: Bearer ${{ secrets.HF_STAGING_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"type":"model","organization":"__DUMMY_KERNELS_USER__","name":"kernels-upload-test"}' \
|| true

- name: Init kernel project
run: |
cd /tmp
Expand Down
Loading