Added Splits, Added more checks for failures, differentiate if fzf is called inside Tmux or not #12
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: 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 wget https://github.com/mikefarah/yq/releases/download/v4.44.6/yq_linux_amd64 -O /usr/bin/yq | |
sudo chmod +x /usr/bin/yq | |
- name: Run Tests | |
run: test/bats/bin/bats test/tests_zmux.bats | |
- name: Cleanup Existing Tmux Sessions | |
run: tmux kill-server || true |