Skip to content

Commit

Permalink
test hf
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgWa committed Apr 9, 2024
1 parent cb84273 commit 8f3e53a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/huggingface.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push

name: Test Huggingface

jobs:
test:
strategy:
matrix:
os: [macos-latest-xlarge, ubuntu-latest, windows-latest, macos-latest]

env:
ARCH: x64
EAGER_IMPORT: true
runs-on: ${{ matrix.os }}
steps:
- name: Install conda
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
continue-on-error: true
auto-update-conda: true
activate-environment: alpha
python-version: "3.11"

- name: Test Huggingface
shell: bash -el {0}
run: |
pip install huggingface_hub
python -c 'from huggingface_hub import get_full_repo_name; print("success")'

0 comments on commit 8f3e53a

Please sign in to comment.