update version number #141
Workflow file for this run
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: Test | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Run Python Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: mamba-org/setup-micromamba@v2 | |
| name: Setup Conda | |
| with: | |
| init-shell: bash | |
| environment-file: environment.yml | |
| environment-name: "wrench" | |
| cache-environment: true | |
| cache-downloads: true | |
| create-args: >- | |
| python=3.12 | |
| - name: Add Python packages | |
| shell: bash -el {0} | |
| run: conda install pytest GDAL -y | |
| - name: Create working directory | |
| shell: bash -l {0} | |
| run: | | |
| mkdir build | |
| - name: Run cmake | |
| shell: bash -l {0} | |
| working-directory: ./build | |
| run: | | |
| cmake -G Ninja \ | |
| -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \ | |
| .. | |
| - name: Build pdal_wrench | |
| shell: bash -l {0} | |
| working-directory: ./build | |
| run: | | |
| ninja | |
| ninja install | |
| - name: Run tests | |
| shell: bash -el {0} | |
| run: | | |
| pytest tests -vv | |