Test latest/pre-release dependencies #4
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
# This workflow runs the test suite using the latest/pre-release dependency | |
# versions. | |
name: Test latest/pre-release dependencies | |
on: | |
schedule: | |
- cron: "30 4 * * 1" # every monday at 04:30 UTC | |
workflow_dispatch: | |
jobs: | |
test_latest_deps: | |
if: ${{ github.repository == 'gboeing/osmnx' }} | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
defaults: | |
run: | |
shell: bash -eulo pipefail {0} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install OSMnx with latest/pre-release dependencies | |
run: | | |
python -m pip install --pre -r ./environments/tests/requirements-test-latest-deps.txt | |
python -m pip install -e . | |
python -m pip check | |
python -m pip list -v | |
python -m pip show osmnx | |
python --version | |
- name: Test code | |
run: pytest --verbose --maxfail=1 |