forked from 3-manifolds/SnapPy
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (36 loc) · 1.25 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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