Skip to content

Commit 95cd3b2

Browse files
committed
fixup! test: vhs tests
1 parent 6d223e9 commit 95cd3b2

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@ jobs:
2828
clj-kondo: latest
2929
cljfmt: latest
3030

31-
- name: Run vhs pomodoro
32-
uses: charmbracelet/vhs-action@v2.1.0
33-
with:
34-
path: docs/examples/vhs/pomodoro.tape
35-
36-
- name: Run vhs download
37-
uses: charmbracelet/vhs-action@v2.1.0
38-
with:
39-
path: docs/examples/vhs/download.tape
40-
41-
42-
4331
- uses: actions/cache@v4
4432
with:
4533
path: |
@@ -57,8 +45,13 @@ jobs:
5745
- name: Test
5846
run: clojure -M:test
5947

60-
- name: Test vhs
48+
- name: Run vhs
6149
run: |
50+
sudo apt update
51+
sudo apt install -y ffmpeg ttyd
52+
go install github.com/charmbracelet/vhs@v2.1.0
53+
vhs docs/examples/vhs/download.tape
54+
vhs docs/examples/vhs/pomodoro.tape
6255
ls -lahrtR
6356
diff pomodoro.ascii docs/examples/test/pomodoro.ascii
6457
diff download.ascii docs/examples/test/download.ascii

docs/examples/vhs/download.tape

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Output download.ascii
2+
Output download.gif
23

34
Set Shell zsh
45

docs/examples/vhs/pomodoro.tape

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Output pomodoro.ascii
2+
Output pomodoro.gif
23

34
Set Shell zsh
45

0 commit comments

Comments
 (0)