From e69e21f4a404e4a32d12e8b5480e913dab64be8b Mon Sep 17 00:00:00 2001 From: neozhaoliang Date: Fri, 19 Jan 2024 23:56:53 +0800 Subject: [PATCH] fix workflow bug --- .github/workflows/test.yaml | 8 +++++++- src/polytopes/example_curved_polychora.py | 1 + src/polytopes/example_polytope_animation.py | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 593ffab..44605fd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -56,4 +56,10 @@ jobs: python src/misc/modulargroup.py python src/misc/newton.py python src/misc/penrose.py - python src/misc/ust_leaves.py \ No newline at end of file + python src/misc/ust_leaves.py + + - name: Run polytopes tests + run: | + cd src/polytopes + python example_curved_polychora.py + python example_polytope_animation.py \ No newline at end of file diff --git a/src/polytopes/example_curved_polychora.py b/src/polytopes/example_curved_polychora.py index a2a6c4d..049390b 100644 --- a/src/polytopes/example_curved_polychora.py +++ b/src/polytopes/example_curved_polychora.py @@ -38,6 +38,7 @@ + " +KFI0" + " +KFF{}".format(FRAMES - 1) + " -V" + + " -D" + " +O../{}/".format(IMAGE_DIR) + "{}" ) diff --git a/src/polytopes/example_polytope_animation.py b/src/polytopes/example_polytope_animation.py index 4e7b15d..a2e0d2a 100644 --- a/src/polytopes/example_polytope_animation.py +++ b/src/polytopes/example_polytope_animation.py @@ -39,6 +39,7 @@ + " +KFI0" + " +KFF{}".format(FRAMES - 1) + " -V" + + " -D" + " +O../{}/".format(IMAGE_DIR) + "{}" )