diff --git a/.github/workflows/huggingface.yml b/.github/workflows/huggingface.yml new file mode 100644 index 00000000..d7f0c655 --- /dev/null +++ b/.github/workflows/huggingface.yml @@ -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")' \ No newline at end of file