mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
fix tests
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install SLOCCount
|
||||
run: sudo apt install sloccount
|
||||
run: sudo apt-get install sloccount
|
||||
- name: Check <1000 lines
|
||||
run: sloccount tinygrad test examples; if [ $(sloccount tinygrad | sed -n 's/.*Total Physical Source Lines of Code (SLOC)[ ]*= \([^ ]*\).*/\1/p' | tr -d ',') -gt 1000 ]; then exit 1; fi
|
||||
|
||||
@@ -22,8 +22,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: CpuInfo
|
||||
run: cat /proc/cpuinfo
|
||||
- name: Install OpenCL
|
||||
run: sudo apt install intel-opencl-icd
|
||||
run: sudo apt-get install intel-opencl-icd
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user