Refactor/78 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.23 | |
cache: true | |
- name: Install system packages | |
run: sudo apt-get update && sudo apt-get install -y ffmpeg ttyd | |
- name: Install VHS utility | |
run: go install github.com/charmbracelet/[email protected] | |
- name: Build Binary | |
run: go build -o gg ./cmd/goto/*.go | |
- name: Run integration tests | |
run: vhs -v && ./e2e/run.sh |