Fix README.md #1058
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: Run tests | |
| on: [push, pull_request] | |
| jobs: | |
| run_pytests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Upgrade pip and install deps (wheel-only) | |
| run: | | |
| python -m pip install --upgrade pip wheel | |
| # If you want to be strict about wheels only, keep --only-binary | |
| python -m pip install --only-binary=:all: \ | |
| numpy scipy matplotlib pytest \ | |
| shapely pyproj cartopy | |
| python -m pip install -r requirements-github.txt | |
| python -m pip install -e . | |
| python - <<'PY' | |
| import cartopy, shapely, pyproj | |
| print("cartopy", cartopy.__version__) | |
| print("shapely", shapely.__version__) | |
| print("pyproj", pyproj.__version__) | |
| PY | |
| - name: Run pytest | |
| env: | |
| MPLBACKEND: Agg | |
| run: pytest -q |