-
Notifications
You must be signed in to change notification settings - Fork 30
42 lines (41 loc) · 1.13 KB
/
quality-check.yaml
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
name: Quality Checks
on:
push:
branches:
- main
- 'release/*'
pull_request:
branches:
- main
- 'release/*'
jobs:
quality-check:
runs-on: ubuntu-latest
steps:
- name: "Python Version"
run: python3 --version
- name: "Upgrade pip and output version"
run: |
python3 -m pip install --upgrade pip
pip3 --version
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: "neuralmagic/sparsezoo"
path: "sparsezoo"
- name: "⚙️ Install sparsezoo dependencies"
run: pip3 install sparsezoo/
- name: "Clean sparsezoo directory"
run: rm -r sparsezoo/
- uses: actions/checkout@v2
with:
repository: "neuralmagic/sparseml"
path: "sparseml"
- name: "⚙️ Install sparseml dependencies"
run: pip3 install sparseml/
- name: "Clean sparseml directory"
run: rm -r sparseml/
- name: "⚙️ Install python dependencies"
run: pip3 install .[dev]
- name: "🧹 Running quality checks"
run: make quality