Bump networkx from 3.2.1 to 3.3 #210
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: CI | |
on: | |
push: | |
branches: [main] | |
# Publish semver tags as releases. | |
tags: ["*.*"] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
id: cp | |
with: | |
python-version: '3.x' | |
- name: Cache pip dependencies | |
uses: actions/cache@v4 | |
id: cache-py | |
if: ${{ contains(runner.name, 'GitHub Actions') }} | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ runner.os }}-pip-${{ steps.cp.outputs.python-version }}-${{ hashFiles('requirements.txt') }} | |
- name: Install pip dependencies if cache miss | |
if: ${{ steps.cache-py.outputs.cache-hit != 'true' }} | |
run: pip install -r requirements.txt | |
- name: Run Test | |
run: python smalltest.py |