Skip to content

Commit

Permalink
[CVS-79083] Build precommit workflow (openvinotoolkit#52)
Browse files Browse the repository at this point in the history
* Add wheel building to precommit workflow

* Add artifact upload
  • Loading branch information
akladiev authored Dec 6, 2023
1 parent 886b903 commit 58e16c2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Precommit
on: [push, pull_request]

jobs:
Run_UT:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- name: git ls-tree
run: |
python3 -m unittest discover -p "*_test.py" ./
Build_Wheel:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- name: Build wheel
run: |
python3 setup.py sdist bdist_wheel
- uses: actions/upload-artifact@v3
with:
name: wheel
path: ${{ github.workspace }}/**/*.whl
13 changes: 0 additions & 13 deletions .github/workflows/unit_tests.yml

This file was deleted.

0 comments on commit 58e16c2

Please sign in to comment.