Refactor/78 #22
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: VHS Action | ||
uses: charmbracelet/[email protected] | ||
version: v0.8 | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.23 | ||
cache: true | ||
# - 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 ttyd libnss3 | ||
# 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] | ||
- 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 |