Skip to content
Merged
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
7 changes: 7 additions & 0 deletions .github/workflows/test_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ jobs:
cd /tmp/kernels-upload-test
sed -i 's|github:huggingface/kernels|path:'"$GITHUB_WORKSPACE"'|' flake.nix

- name: Make flake a Git repo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why is it needed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We made it mandatory that a flake is a git repo and has at least one commit, so that we can always use a git shorthash that is used for the kernel identifier (and not completely random material).

run: |
cd /tmp/kernels-upload-test
git config --global user.email "bottie@mcbotface.hf.co"
git config --global user.name "Botty McBotface"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good username.

git init && git add . && git commit -m "e2e test"

- name: Determine latest variant
id: variant
run: |
Expand Down
Loading