Better separate HF from Unitxt in loading HF datasets, to gain a more comparable loading time for non-eager and eager execution #4962
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
name: Test Docs Compilation | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHONPATH: ./docs | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
- run: uv pip install --system ".[tests,docs]" | |
- name: Compile Docs | |
run: make docs | |