Skip to content

Commit 76e4b2c

Browse files
authored
ci(luarocks-release): add install test (#440)
1 parent b647602 commit 76e4b2c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ jobs:
1616
env:
1717
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
1818
run: make luarocks_upload
19+
- name: Install release
20+
run: make test_luarocks_install

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ generate_filetypes:
66

77
luarocks_upload:
88
bash ./scripts/luarocks-upload.sh
9+
10+
test_luarocks_install:
11+
bash ./scripts/test-luarocks-install.sh

scripts/test-luarocks-install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
MODREV=$(git describe --tags --always --first-parent | tr -d "v")
4+
luarocks install "plenary.nvim" "$MODREV"

0 commit comments

Comments
 (0)