Tests #614
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: Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
appimage-ubuntu: | |
name: Appimage-ubuntu | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: date +%F > todays-date | |
- name: Restore cache for today's nightly. | |
uses: actions/cache@v2 | |
with: | |
path: | | |
build | |
key: ${{ runner.os }}-appimage-${{ hashFiles('todays-date') }} | |
- name: Prepare | |
run: | | |
test -d build || { | |
mkdir -p build | |
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage | |
chmod +x nvim.appimage | |
mv nvim.appimage ./build/nvim | |
} | |
mkdir -p rtps | |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim rtps/plenary.nvim | |
- name: Run tests | |
run: | | |
export PATH="${PWD}/build/:${PATH}" | |
make test |