Skip to content

Commit 58e16c2

Browse files
authored
[CVS-79083] Build precommit workflow (openvinotoolkit#52)
* Add wheel building to precommit workflow * Add artifact upload
1 parent 886b903 commit 58e16c2

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed

.github/workflows/precommit.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Precommit
2+
on: [push, pull_request]
3+
4+
jobs:
5+
Run_UT:
6+
runs-on: ubuntu-20.04
7+
steps:
8+
- uses: actions/checkout@v4
9+
10+
- name: git ls-tree
11+
run: |
12+
python3 -m unittest discover -p "*_test.py" ./
13+
14+
Build_Wheel:
15+
runs-on: ubuntu-20.04
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Build wheel
20+
run: |
21+
python3 setup.py sdist bdist_wheel
22+
23+
- uses: actions/upload-artifact@v3
24+
with:
25+
name: wheel
26+
path: ${{ github.workspace }}/**/*.whl

.github/workflows/unit_tests.yml

-13
This file was deleted.

0 commit comments

Comments
 (0)