Skip to content

Commit

Permalink
ci: add CI workflow for python ittapi (#154)
Browse files Browse the repository at this point in the history
* ci workflow for itt python

* merged python ci to main CI

* fixed review comments

* code review fixes

* Update .github/workflows/main.yml

Co-authored-by: Eugeny Parshutin <[email protected]>

---------

Co-authored-by: Eugeny Parshutin <[email protected]>
  • Loading branch information
saurabhkatiyar91 and eparshut authored Aug 5, 2024
1 parent 6ddf038 commit 4febd9a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,24 @@ jobs:
# The Windows CI transforms the `c-library` symlink into a real directory, modifying the Git
# state, so we ignore these changes with `--allow-dirty` here.
run: scripts/verify-publish.sh --allow-dirty

python_build:
name: Check Python bindings
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: windows-latest
defaults:
run:
working-directory: python
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build and install ittapi package
run: python -m pip install .
- name: Run unit tests
run: python -m unittest discover -s utest -t utest

0 comments on commit 4febd9a

Please sign in to comment.