chore: create test harness #49
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: tmate | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Neovim nightly | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: nightly | |
- name: Setup Kitty | |
run: | | |
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin launch=n | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y xfce4 libxcb-xkb1 | |
- name: Test kitty-scrollback.nvim | |
run: | | |
Xvfb :1 -screen 0 1024x768x16 & | |
export PATH=$HOME/.local/kitty.app/bin:$PATH | |
export DISPLAY=:1 | |
echo "export PATH=$HOME/.local/kitty.app/bin:$PATH" >> "$HOME/.bashrc" | |
echo 'export DISPLAY=:1' >> "$HOME/.bashrc" | |
echo 'export PS1="\[\e[34m\]$ \[\e[m\]"' >> "$HOME/.bashrc" | |
# mkdir -p "$GITHUB_WORKSPACE/tmp/out" | |
make test | |
# make test | tee "$GITHUB_WORKSPACE/tmp/out/make-test.log" | |
# - name: Setup tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
# - name: Upload artifacts | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: output | |
# path: ${{ github.workspace }}/tmp/out/* |