Merge pull request #27 from JXRepo/Jun_2025_10_23 #395
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: kanapy testing | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.12"] | |
| name: Test kanapy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| conda --version | |
| which python | |
| python -m pip install . | |
| python -m pip install pytest pytest-mock pytest-cov | |
| - name: run tests | |
| run: | | |
| pytest tests/test_entities.py tests/test_input_output.py tests/test_packing.py tests/test_voxelization.py -v | |