fix: convert timing_param to float before casting to int for accurate… #59
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: Tests | |
| on: | |
| push: | |
| branches: [main, develop, "**"] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -r requirements-dev.txt | |
| - name: Run unit tests (01_scanDicom) | |
| run: | | |
| python -m pytest test/test_scanDicom_unit.py -v | |
| - name: Run full tests (01_scanDicom + 02_parseDicom) | |
| run: | | |
| python -m pytest test/test_scanDicom_full.py -v | |
| - name: Run synthetic known-result tests (01 + 02 deterministic verification) | |
| run: | | |
| python -m pytest test/test_synthetic_known_result.py -v |