SageMath deprecation warnings: implement our own is_[...]IntervalFiel… #242
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: | |
fail-fast: false | |
matrix: | |
version: [9.3, 9.4, 9.5, 9.6, 9.7, 9.8, 10.1, 10.2, 10.3, latest] | |
container: | |
image: sagemath/sagemath:${{ matrix.version }} | |
options: --user root | |
steps: | |
- name: Sage version | |
run: sage --version | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- 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 | |
- name: Build docs | |
# Doesn't just do "make html" as neither "make" nor "zip" is | |
# installed in this image. | |
run: | | |
cd /__w/SnapPy/SnapPy/doc_src | |
sage -python -m sphinx -b html -E -d _build/doctrees . _build/doc | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: doc-${{ matrix.version }} | |
path: /__w/SnapPy/SnapPy/doc_src/_build/doc/* |