-
Notifications
You must be signed in to change notification settings - Fork 7
65 lines (59 loc) · 1.54 KB
/
Copy pathCI.yml
File metadata and controls
65 lines (59 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: CI
on:
push:
pull_request:
workflow_dispatch:
# JUNGVI: Create a concurrency group per branch such that only the latest commit on a branch runs workflows
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-deepquant:
runs-on: ubuntu-latest
container:
image: ghcr.io/pulp-platform/deepquant:main
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build DeepQuant
run: |
python -m pip install --upgrade pip
pip install -e .
single-layer-tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/pulp-platform/deepquant:main
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build DeepQuant
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run Tests
run: |
pytest -m SingleLayerTests
model-tests:
runs-on: ubuntu-latest
# container:
# image: ghcr.io/pulp-platform/deepquant:main
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build DeepQuant
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run Tests
run: |
pytest -m ModelTests