Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions .github/workflows/dataset_loading.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
name: Datasets available on HuggingFace

on:
push:
branches: [main]
pull_request:
paths:
- "mteb/tasks/**.py"

jobs:
extract-and-run:
dataset-loading-check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
python-version: '3.11'
cache: 'pip'

- name: Install dependencies
run: |
make install-for-tests

make install-for-tests
- name: Run dataset loading tests
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
make dataset-load-test
if [ "${{ github.event_name }}" == "pull_request" ]; then
make dataset-load-test-pr BASE_BRANCH=${{ github.event.pull_request.base.ref }}
else
make dataset-load-test
fi
28 changes: 0 additions & 28 deletions .github/workflows/dataset_loading_pr.yml

This file was deleted.