Skip to content

Update README.md (#116) and fix networkx version to 3.2.* #117

Update README.md (#116) and fix networkx version to 3.2.*

Update README.md (#116) and fix networkx version to 3.2.* #117

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python setup
on:
push:
branches: [ "develop", "main", "master" ]
pull_request:
branches: [ "develop", "main", "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Preprocess
run: |
python -m pip install --upgrade pip
python -m pip install wheel
- name: Test to build package
run: |
python setup.py install
- name: Test with pytest
run: |
python -m pip install pytest
python -m pytest