Add flatmap_diagnostic.py tool for validating source and generated maps #583
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: mapmaker | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| create-env: | |
| name: ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }}-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Ubuntu packages | |
| uses: ConorMacBride/install-package@v1 | |
| with: | |
| apt: libfontconfig1 libegl1 libglx-mesa0 libgl1-mesa-dri | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync | |
| # - name: Run Pyright | |
| # uses: jakebailey/pyright-action@v2 | |
| - name: Run mapmaker | |
| run: | | |
| python runmaker.py \ | |
| --output ./flatmaps \ | |
| --source https://github.com/AnatomicMaps/rat-flatmap.git \ | |
| --commit curation \ | |
| --manifest manifest.json \ | |
| --force \ | |
| --no-path-layout \ | |
| --background-tiles | |
| env: | |
| SCICRUNCH_API_KEY: ${{ secrets.SCICRUNCH_API_KEY }} |