Skip to content

use ruff --fix --select C4 python/ #663

use ruff --fix --select C4 python/

use ruff --fix --select C4 python/ #663

Workflow file for this run

name: sage-test
on: [push, pull_request]
jobs:
test:
name: Test on Sage
runs-on: ubuntu-latest
strategy:
matrix:
version: [9.1, 9.3, 9.4, 9.5, 9.6, 9.7, 9.8, latest]
container:
image: sagemath/sagemath:${{ matrix.version }}
options: --user root
steps:
- name: Sage version
run: sage --version
- name: Checkout
uses: actions/checkout@v3
- name: Install PLink
run:
sage -pip install -U https://github.com/3-manifolds/PLink/archive/master.zip
- name: Install LowIndex
run:
sage -pip install -U https://github.com/3-manifolds/low_index/archive/master.zip
- name: Install snappy_manifolds
run: sage -pip install -U https://github.com/3-manifolds/snappy_manifolds/archive/master.zip
- name: Install spherogram
run: sage -pip install -U https://github.com/3-manifolds/spherogram/archive/master.zip
- name: Test spherogram
run: sage -python -m spherogram.test
- name: Install snappy
run: |
cd /__w/SnapPy/SnapPy
sage -pip install wheel FXrays sphinx_rtd_theme
sage -python setup.py pip_install
- name: Do the tests
run: sage -python -m snappy.test