some fixes by ruff about comprehensions, etc #172
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: 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 snappy_manifolds | |
run: sage -pip install -U https://github.com/3-manifolds/snappy_manifolds/archive/master.zip | |
- name: Install spherogram | |
run: | | |
sage -pip install wheel | |
cd /__w/Spherogram/Spherogram | |
sage -python setup.py pip_install | |
- name: Test spherogram | |
run: sage -python -m spherogram.test |