Skip to content

Commit

Permalink
+ github actions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jtzero committed Jun 29, 2024
1 parent f3387dc commit 266c99f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Tests

on:
push:
branches:
pull_request:

jobs:
run-unit-tests:
name: Run Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: sudo apt-get update -y && sudo apt-get upgrade -y
- run: sudo apt-get install -y luarocks neovim ripgrep fzf fd-find
- run: luarocks init && git checkout .gitignore
- run: luarocks install --deps-only ./go-to-test-file.nvim-*.rockspec
- run: ls
- run: echo $PATH
- run: mkdir -p "${HOME}/.local/bin"
- run: ln -s $(which fdfind) "$(dirname $(which fdfind))/fd" || ln -s $(which fdfind) "${HOME}/.local/bin/fd"
- run: lua_modules/bin/vusted

0 comments on commit 266c99f

Please sign in to comment.