diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9021e8c60c..4606698a43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,8 +31,6 @@ jobs: key: linting-packages-${{ hashFiles('**/setup.py') }}-3.8 - name: Install dependencies run: pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu - - name: Repo line count <5000 lines - run: MAX_LINE_COUNT=5000 python sz.py - name: Lint with pylint run: python -m pylint --disable=all -e W0311 -e C0303 --jobs=0 --indent-string=' ' **/*.py - name: Lint with ruff @@ -65,6 +63,8 @@ jobs: source venv/bin/activate pip install $GITHUB_WORKSPACE python -c "from tinygrad.tensor import Tensor; print(Tensor([1,2,3,4,5]))" + - name: Repo line count <5000 lines + run: MAX_LINE_COUNT=5000 python sz.py testcpuimagenet: name: CPU and ImageNet to C Tests