Skip to content

Update density_and_public_transportation.ipynb #736

Update density_and_public_transportation.ipynb

Update density_and_public_transportation.ipynb #736

Workflow file for this run

name: DPD
on:
push:
branches: [ trunk ]
pull_request:
branches: [ trunk ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: "3.9"
cache: "pip"
- name: Update apt
run: sudo apt update
- name: Install apt dependencies
run: sudo apt install python3-dev libproj-dev proj-data proj-bin libgeos-dev gdal-bin libgdal-dev
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install pip dependencies
run: pip install -r requirements.txt
- name: Install package
run: pip install .
- name: Lint with black
run: black --check .
- name: Lint with isort
run: isort --check --profile black .
- name: Lint with bandit
run: bandit -r .
- name: Lint with flake8
run: flake8
- name: Test with pytest
run: |
coverage run --source=dpd -m pytest tests/
- name: Publish to coveralls.io
run: |
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}