File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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')
You can’t perform that action at this time.
0 commit comments