Skip to content

Add testing and ci

Add testing and ci #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Bats
run: |
git submodule update --init --recursive
- name: Install Dependencies
run: sudo apt-get install -y tmux fzf wget yamllint
- name: Install yq
run: |
sudo add-apt-repository ppa:rmescandon/yq
sudo apt update
sudo apt install yq -y
- name: Run Tests
run: test/bats/bin/bats test/tests_zmux.bats
- name: Cleanup Existing Tmux Sessions
run: tmux kill-server || true