feat: More efficient equal area projection #6
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: api-parity | |
| # Verify the TS/Python/Rust ports expose the same public API. The check reads each | |
| # port's public entrypoint; with --remote it fetches them from the published GitHub | |
| # repos (raw), so no sibling checkout is needed. See API_PARITY.md. | |
| on: | |
| pull_request: | |
| schedule: | |
| # Weekly drift monitor across the three published repos (Mondays 06:00 UTC). | |
| - cron: '0 6 * * 1' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| # On a TS PR: check the PR's local index.ts against the published PY/RS repos. | |
| parity-pr: | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Check API parity (local TS vs PY/RS at the PR branch, else main) | |
| run: python3 scripts/check_api_parity.py --check --remote --local TS --branch "$HEAD_REF" | |
| env: | |
| # Prefer a same-named branch on the sibling repos so a coordinated breaking | |
| # change validates against the in-flight branches, not main. | |
| HEAD_REF: ${{ github.head_ref }} | |
| # Scheduled / manual: check all three published repos against each other. | |
| # No divergence should exist on the default branches once a change is fully rolled out. | |
| parity-monitor: | |
| if: github.event_name != 'pull_request' | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Check API parity (all three from GitHub) | |
| run: python3 scripts/check_api_parity.py --check --remote |