Skip to content

Commit 68aaaa4

Browse files
authored
Add files via upload
1 parent 8a67cda commit 68aaaa4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,18 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
pip install --upgrade pip
27-
pip install torch==2.3.0 --index-url https://download.pytorch.org/whl/cpu
28-
pip install transformers datasets safetensors optuna psutil numpy tqdm
27+
pip install torch==2.4.1 --index-url https://download.pytorch.org/whl/cpu
28+
pip install transformers datasets safetensors optuna psutil numpy tqdm pytest ruff
2929
# Install minimind-master as editable dependency
3030
pip install -e ./minimind-master 2>/dev/null || true
3131
3232
- name: Lint
3333
run: |
34-
pip install ruff
35-
ruff check chronos/ train_chronos.py --ignore E501
34+
ruff check .
3635
3736
- name: Unit tests
3837
run: |
39-
python -m pytest tests/ -v --tb=short 2>/dev/null || python tests/test_smoke.py
38+
python -m pytest tests/ -v --tb=short
4039
4140
publish:
4241
if: startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)