Skip to content

Refactor/78 (#80)

Refactor/78 (#80) #37

Workflow file for this run

name: e2e tests
on:
push:
branches:
- develop
pull_request:
workflow_dispatch:
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: VHS Action
uses: charmbracelet/[email protected]
with:
version: v0.8.0
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.23
cache: true
- name: Build Binary
run: go build -o gg ./cmd/goto/*.go && cp gg /usr/local/bin && gg -v
- name: Run integration tests
run: ./e2e/run.sh
# Following tasks are only required if you want to install vhs manually
# - name: Set up Node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: Install system packages
# run: sudo apt-get update && sudo apt-get install -y ffmpeg jq && sudo snap install ttyd --classic && go install github.com/charmbracelet/[email protected]
# - name: Install VHS utility
# run: go install github.com/charmbracelet/[email protected]