Rename performance.py to planet_overlap/performance.py #65
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Upgrade pip | |
| run: python -m pip install --upgrade pip | |
| - name: Install package + dev dependencies | |
| run: pip install -e .[dev] | |
| - name: Lint (flake8) | |
| run: flake8 src tests | |
| - name: Check formatting (black) | |
| run: black --check . | |
| - name: Type check (mypy) | |
| run: mypy src | |
| - name: Run tests with coverage | |
| run: pytest --cov=planet_overlap --cov-report=term-missing | |
| - name: Build distribution | |
| run: | | |
| pip install build | |
| python -m build | |
| - name: Verify wheel installs | |
| run: | | |
| pip install dist/*.whl | |
| python -c "import planet_overlap" |