-
Notifications
You must be signed in to change notification settings - Fork 5
84 lines (81 loc) · 2.53 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
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
name: Test Github Action
on: [push, pull_request]
jobs:
test-mkver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test rendering example_scenes.py
uses: ./
id: renderer
with:
source_file: test/example_scenes.py
scene_names: "WriteStuff"
args: "--high_quality"
fonts_dir: test/fonts/
extra_repos: "https://github.com/manim-kindergarten/manim_sandbox"
- name: Save output as artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: Videos_mkver
path: ${{ steps.renderer.outputs.video_path }}
test-cmver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Community version
uses: ./
id: renderer
with:
source_file: test/example_scenes_cmver.py
scene_names: "WriteStuff"
args: "--high_quality"
fonts_dir: test/fonts/
manim_repo: "https://github.com/ManimCommunity/manim"
community_ver: true
- name: Save output as artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: Videos_cmver
path: ${{ steps.renderer.outputs.video_path }}
test-3b1bver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test rendering example_scenes.py
uses: ./
id: renderer
with:
source_file: test/example_scenes.py
scene_names: "WriteStuff"
args: "--high_quality"
fonts_dir: test/fonts/
manim_repo: "https://github.com/3b1b/manim"
extra_repos: "https://github.com/manim-kindergarten/manim_sandbox"
- name: Save output as artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: Videos_3b1bver
path: ${{ steps.renderer.outputs.video_path }}
test-other-types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test rendering example_scenes.py
uses: ./
id: renderer
with:
source_file: test/example_scenes.py
scene_names: "WriteStuff"
args: "--high_quality -t"
fonts_dir: test/fonts/
extra_repos: "https://github.com/manim-kindergarten/manim_sandbox"
- name: Save output as artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: OtherTypeOutputs
path: ${{ steps.renderer.outputs.video_path }}