Skip to content

feat(platforms): add support for alacritty #425

feat(platforms): add support for alacritty

feat(platforms): add support for alacritty #425

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- id: branch-name
uses: tj-actions/branch-names@v6
- name: Install Neovim
shell: bash
run: |
mkdir -p /tmp/nvim
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -O /tmp/nvim/nvim.appimage
cd /tmp/nvim
chmod a+x ./nvim.appimage
./nvim.appimage --appimage-extract
echo "/tmp/nvim/squashfs-root/usr/bin/" >> $GITHUB_PATH
- name: Clone nordic.nvim (PR)
if: github.event_name == 'pull_request'
run: |
mkdir -p ~/.local/share/nvim/site/pack/ci/start/
git clone --branch ${{ steps.branch-name.outputs.current_branch }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} ~/.local/share/nvim/site/pack/ci/start/nordic.nvim;
- name: Clone nordic.nvim (Push)
if: github.event_name == 'push'
run: |
mkdir -p ~/.local/share/nvim/site/pack/ci/start/
git clone --branch ${{ steps.branch-name.outputs.current_branch }} https://github.com/${GITHUB_REPOSITORY} ~/.local/share/nvim/site/pack/ci/start/nordic.nvim;
- name: Test nordic.nvim
shell: bash
run: |
nvim --version
OUTPUT=$(nvim --headless -c "lua require 'nordic.tests.options'" -c 'q' 2>&1);
if [[ -n "$OUTPUT" ]]
then
exit 1
fi