mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
26 lines
502 B
YAML
26 lines
502 B
YAML
name: Unit Tests
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install Dependencies
|
|
run: pip install ipython numpy tqdm requests torch
|
|
- name: Run mnist test
|
|
run: ipython3 test/mnist.py
|
|
- name: Run compare to torch test
|
|
run: ipython3 test/test.py
|
|
|