ci: run test_dataset_on_hf separately (#2201) #1
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: Datasets available on HuggingFace | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
extract-and-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
make install-for-tests | |
- name: Run dataset loading tests | |
run: | | |
make dataset-load-test |