Skip to content

Commit

Permalink
Merge pull request #149 from Fixstars-momoko/feature/add-ion-contrib-…
Browse files Browse the repository at this point in the history
…python-test

added the test for ion-contrib-python using Aravis library
  • Loading branch information
Fixstars-momoko authored Oct 25, 2024
2 parents 890682c + e00a3c6 commit 1d2d61e
Show file tree
Hide file tree
Showing 5 changed files with 628 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/develop-Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
gendc_separator_version=${gendc_separator_version:1}
fi
pip install ion-python==$ionkit_version
pip install ion-contrib-python==$ionkit_version
pip install gendc-python==$gendc_separator_version
pip install numpy
pip install opencv-python
Expand All @@ -199,6 +199,12 @@ jobs:
cd ${{ github.workspace }}/download/installer/testcases/python
python ionkit_test.py
- name: Test ion-kit with Aravis
run: |
cd ${{ github.workspace }}/download/installer/testcases/python
export GENICAM_FILENAME=${{ github.workspace }}/download/installer/testcases/python/arv-fake-camera.xml
python ionkit_contrib_test.py ${{ github.workspace }}/download/installer/testcases/python/ionkit_contrib_test.py
- name: Test OpenCV
run: |
cd ${{ github.workspace }}/download/installer/testcases/python
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/develop-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,19 +246,23 @@ jobs:
if ( $gendc_separator_version.StartsWith("v") ){
$gendc_separator_version = $gendc_separator_version.substring(1)
}
pip install ion-python==$ionkit_version
pip install ion-contrib-python==$ionkit_version
pip install gendc-python==$gendc_separator_version
pip install numpy
pip install opencv-python
pip install aravis-python
- name: Test ion-kit
run: |
cd ${{ github.workspace }}/download/installer/testcases/python
python ionkit_test.py
- name: Test ion-kit with Aravis
run: |
cd ${{ github.workspace }}/download/installer/testcases/python
$ENV:GENICAM_FILENAME = "${{ github.workspace }}/download/installer/testcases/python/arv-fake-camera.xml"
python ionkit_contrib_test.py ${{ github.workspace }}/download/installer/testcases/python/ionkit_contrib_test.py
- name: Test OpenCV
run: |
cd ${{ github.workspace }}/download/installer/testcases/python
Expand Down
4 changes: 2 additions & 2 deletions installer/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ libraries:

ion_kit:
name: ion-kit
pkg_sha: "41913dcd5c752f2859c48893c8eb1fba04b4bb2faa0e327019ba1a3567c43127"
pkg_sha: "d85c31b70e128b7f22143cb2a91234f5e12e040094b5f74be950bf6620becd55"
git_repo: "https://github.com/fixstars/ion-kit.git"
version: "v3.2.2"
version: "v3.2.3"

opencv:
name: opencv
Expand Down
Loading

0 comments on commit 1d2d61e

Please sign in to comment.