-
-
Notifications
You must be signed in to change notification settings - Fork 344
86 lines (78 loc) · 2.61 KB
/
test.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Run tests
on:
push:
branches:
- "new_cleanup"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Run in all these versions of Python
python-version: ['3.8', '3.9', '3.10']
steps:
# Checkout the latest code from the repo
- name: Checkout repo
uses: actions/checkout@v2
# Setup which version of Python to use
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Install the package using the setup.py
- name: Install packages
run: pip install -r requirements.txt
- name: Install softwares
run: bash install_dependencies.sh
- name: Run perfectly sampling tests
run: |
python src/aztec/random_tiling.py
python src/aztec/run_domino_shuffling_animation.py
python src/cftp/example_random_domino_tiling.py
python src/cftp/example_random_lozenge_tiling.py
- name: Run gifmaze
run: |
cd src/gifmaze
echo "::group:: running gifmaze tests"
python example_game_of_life.py
python example_hilbert_curve.py
python example_langton_ant.py
python example_maze_animations.py
echo "::endgroup:: gifmaze tests done!"
- name: Run misc tests
run: |
python src/misc/Ammann-Beenker.py
python src/misc/deBruijn.py
python src/misc/domain_coloring.py
python src/misc/E8.py
python src/misc/fractaltree.py
python src/misc/julia.py
python src/misc/kaleidoscope.py
python src/misc/lorenz.py
python src/misc/mandelbrot.py
python src/misc/modulargroup.py
python src/misc/newton.py
python src/misc/penrose.py
python src/misc/ust_leaves.py
python src/misc/integral_apollonian_gasket.py
- name: Run polytopes tests
run: |
cd src/polytopes
python example_curved_polychora.py
python example_polytope_animation.py
- name: Run uniform tiling tests
run: |
cd src/uniform_tilings
python example_uniform_tilings.py
- name: Run catacaustics tests
run: |
cd src/catacaustics
python catacaustic_of_cardioid.py
- name: Run Mobius tests
run: |
cd src/mobius
python example_mobius_poincare_isometry.py
- name: Run assassin puzzles tests
run: |
cd src/assassin_vs_bodyguards
python example_trajectory.py