Cleanup #129
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: Unit tests | |
# This workflow runs the Pandana unit tests in a single generic environment (recent but | |
# stable Python version on recent but stable Ubuntu). The cross-compatibility.yml | |
# workflow runs the same tests across multiple platforms. | |
on: | |
push: | |
# pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install Pandana | |
run: | | |
pip install . | |
pip install osmnet | |
- name: Run unit tests | |
run: | | |
pip install pytest | |
pytest -s |