start of adding snapshot tests #27
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: test | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.actor }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Run tests | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
neovim_version: ['v0.9.5', 'v0.10.0'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.neovim_version }} | |
- name: Install ripgrep | |
run: | | |
mkdir ripgrep | |
cd ripgrep | |
wget -O - https://github.com/BurntSushi/ripgrep/releases/download/14.1.0/ripgrep-14.1.0-armv7-unknown-linux-musleabi.tar.gz | tar zxf - --strip-component=1 | |
ls | |
cd .. | |
./ripgrep/rg foo . | |
- name: Run tests | |
run: | | |
make prepare | |
env RG_PATH=./ripgrep/rg make test |