Skip to content

trying #1949 again, the trick that worked in #1948 for #1945 #5754

trying #1949 again, the trick that worked in #1948 for #1945

trying #1949 again, the trick that worked in #1948 for #1945 #5754

name: Test Library Code Eager Execution
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:
eager:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
OS: ubuntu-latest
UNITXT_USE_EAGER_EXECUTION: True
UNITXT_DEFAULT_VERBOSITY: error
DATASETS_VERBOSITY: error
HF_HUB_VERBOSITY: error
HF_DATASETS_DISABLE_PROGRESS_BARS: "True"
HF_HUB_DOWNLOAD_TIMEOUT: 60
HF_HUB_ETAG_TIMEOUT: 60
TQDM_DISABLE: "True"
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install Dependencies
run: bash utils/install.sh
- uses: ./.github/actions/install-internal-pip
with:
ssh-private-key: ${{ secrets.LLMEVALKIT_SSH_KEY }}
- run: pip install coverage[toml]
- name: Run Tests
run: coverage run --omit=*/preparation -m unittest discover -s tests/library -p "test_*.py"