Skip to content

Test with Nightly wheels #15

Test with Nightly wheels

Test with Nightly wheels #15

name: Test with Nightly wheels
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
nightly:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, macos]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
pip install --upgrade pip
pip install -U --pre --extra-index-url https://pypi.org/simple -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple -r requirements/default.txt
pip install --pre -r requirements/test.txt
pip install .
pip list
- name: Test NetworkX
run: |
pytest --doctest-modules --durations=10 --pyargs networkx