Skip to content

chore(deps): bump types-networkx from 3.4.2.20241227 to 3.4.2.20250227 #106

chore(deps): bump types-networkx from 3.4.2.20241227 to 3.4.2.20250227

chore(deps): bump types-networkx from 3.4.2.20241227 to 3.4.2.20250227 #106

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize]
push:
branches: ['master', 'main']
env:
PYTHONPATH: './src:./test'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: setup tox
run: pip install tox
- name: test
run: |
TOXENV="py$(echo ${{ matrix.python-version }} | sed 's/\.//')"
tox -e "${TOXENV}"
build-docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: pip install -e .[doc]
- name: Sphinx build
run: sphinx-build docs docs/_build --builder html --fresh-env
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/
deploy-doc:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: build-docs
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4