Skip to content

Add geopy to requirements and update Dockerfile for geospatial libraries #48

Add geopy to requirements and update Dockerfile for geospatial libraries

Add geopy to requirements and update Dockerfile for geospatial libraries #48

Workflow file for this run

# 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