Add departure and arrival datetime to Direction #356
Workflow file for this run
This file contains 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: tests | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '.gitignore' | |
- '**.md' | |
- '**.rst' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '.gitignore' | |
- '**.md' | |
- '**.rst' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python_version: [ | |
3.8, # only lowest & highest version should be enough, :cross_fingers: | |
# 3.9, | |
# '3.10', | |
'3.11' | |
# pypy3 # didn't build on CI anymore, happy for help: https://github.com/gis-ops/routing-py/issues/60 | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
pip install -r requirements_dev.txt | |
- name: style & lint checks | |
run: | | |
pre-commit run --all-files | |
- name: pytest and coverage | |
run: | | |
pip install -e . | |
coverage run --source=routingpy --module pytest | |
coverage lcov --include "routingpy/*" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |