Add geopy to requirements and update Dockerfile for geospatial libraries #48
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
| # Run unit tests and check test coverage | |
| name: Python-test | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pytest pytest-cov pytest-benchmark pytest-mock | |
| python -m pip install networkx | |
| if [ -f requirements.txt ]; | |
| then | |
| pip install -r requirements.txt; | |
| fi | |
| - name: Test with pytest and check test coverage | |
| run: | | |
| pytest --cov=ngraph --cov-fail-under=85 |