convert grass_params to BaseModel #258
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: tests | |
| on: | |
| push: | |
| branches: [ "main"] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| runs-on: ubuntu-24.04 | |
| container: osgeo/grass-gis:releasebranch_8_4-ubuntu | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| apt update | |
| apt install -y ca-certificates clang build-essential libomp-dev nodejs | |
| - uses: actions/checkout@v5 | |
| - name: Install uv and Python | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| $HOME/.local/bin/uv python install ${{ matrix.python-version }} | |
| - name: Pytest | |
| run: | | |
| $HOME/.local/bin/uv run --all-extras --python ${{ matrix.python-version }} pytest --cov=src --forked --junitxml=junit/test-results.xml --cov-report=xml --cov-report=html tests/ | |
| - name: Upload coverage | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report-${{ matrix.python-version }} | |
| path: | | |
| htmlcov/ | |
| coverage.xml |