Move options from CLI to scheme file #23
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ".[dev]" | |
| - name: Check code style with Ruff | |
| run: | | |
| ruff format --check | |
| - name: Lint with Ruff | |
| run: | | |
| ruff check | |
| - name: Test with pytest | |
| run: | | |
| pytest -v | |
| - name: Test render | |
| run: | | |
| map-machine render -b 10.000,20.000,10.001,20.001 --cache tests/data | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ".[dev]" | |
| - name: Check code style with Ruff | |
| run: | | |
| ruff format --check | |
| - name: Lint with Ruff | |
| run: | | |
| ruff check | |
| - name: Test render | |
| run: | | |
| map-machine render -b 10.000,20.000,10.001,20.001 --cache tests/data |