Skip to content

Commit

Permalink
recordings: Make record.sh ensure recent enough asciinema
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Nov 27, 2023
1 parent c09b513 commit 81218e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linux_and_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
brew tap homebrew/cask-fonts
brew install \
agg \
asciinema \
coreutils \
font-liberation \
imagemagick
Expand Down Expand Up @@ -114,6 +113,7 @@ jobs:
if: "${{ runner.os == 'macOS' }}"
run: |-
./recordings/record.sh
rm -Rf recordings/venv/
- name: 'Upload UI test renderings for inspection'
if: "${{ runner.os == 'macOS' }}"
Expand Down
5 changes: 5 additions & 0 deletions recordings/record.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export FAKETIME=yesplease

cd "${self_dir}"

# Ensure recent asciinema with --cols and --rows argument support
[[ -d venv/ ]] || python3 -m venv venv/
source venv/bin/activate
pip3 install asciinema==2.3.0

# Check and report on runtime requirements
which agg asciinema convert realpath timeout ttyplot

Expand Down

0 comments on commit 81218e6

Please sign in to comment.