trigger #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --upgrade huggingface_hub | |
python -c 'import huggingface_hub; from huggingface_hub import get_full_repo_name; print("success")' |