Skip to content

Commit 1a93301

Browse files
committed
Add layer and model tests to CI
1 parent ad6f8c9 commit 1a93301

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/CI.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,43 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install -e .
25+
26+
single-layer-tests:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout Repo
30+
uses: actions/checkout@v4
31+
with:
32+
submodules: recursive
33+
- name: Set up Python
34+
uses: actions/setup-python@v4
35+
with:
36+
python-version: "3.11"
37+
- name: Build DeepQuant
38+
run: |
39+
python -m pip install --upgrade pip
40+
pip install -e .
41+
- name: Run Tests
42+
run: |
43+
pytest Tests/test_simple_cnn.py
44+
pytest Tests/test_simple_mha.py
45+
pytest Tests/test_simple_nn.py
46+
47+
model-tests:
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Checkout Repo
51+
uses: actions/checkout@v4
52+
with:
53+
submodules: recursive
54+
- name: Set up Python
55+
uses: actions/setup-python@v4
56+
with:
57+
python-version: "3.11"
58+
- name: Build DeepQuant
59+
run: |
60+
python -m pip install --upgrade pip
61+
pip install -e .
62+
- name: Run Tests
63+
run: |
64+
pytest Tests/test_mnist.py

0 commit comments

Comments
 (0)