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
11 changes: 3 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,17 @@ jobs:
- name: Set up uv
uses: astral-sh/setup-uv@v2

- name: Install HuggingFace Hub CLI
run: uv pip install huggingface_hub --system

- name: HuggingFace Hub Login
- name: Install fairchem repository and dependencies
if: ${{ matrix.model.name == 'fairchem' }}
env:
HF_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}
run: |
uv pip install huggingface_hub --system
if [ -n "$HF_TOKEN" ]; then
huggingface-cli login --token "$HF_TOKEN"
else
echo "HF_TOKEN is not set. Skipping login."
fi

- name: Install fairchem repository and dependencies
if: ${{ matrix.model.name == 'fairchem' }}
run: |
if [ -f fairchem-repo/packages/requirements.txt ]; then
uv pip install -r fairchem-repo/packages/requirements.txt --system
fi
Expand Down