test: port remap_divref tests to pytest; fix coordinate translation #17
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: Python toolkit checks | |
| on: | |
| push: | |
| workflow_call: | |
| env: | |
| UV_VERSION: 0.9.5 | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| PYTHON_VERSION: ["3.12", "3.13"] | |
| steps: | |
| - name: Checkout from GitHub | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| python-version: ${{ matrix.PYTHON_VERSION }} | |
| enable-cache: 'true' | |
| cache-suffix: ${{ matrix.PYTHON_VERSION }} | |
| - name: Test the library | |
| run: | | |
| uv run --directory divref --locked poe check-all |