Add support for pending tests #160
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: luarocks | |
on: | |
push: | |
tags: | |
- 'v*' | |
pull_request: # Will test a local install without uploading to luarocks.org | |
jobs: | |
luarocks-release: | |
runs-on: ubuntu-latest | |
name: upload | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: leafo/gh-actions-lua@v10 | |
with: | |
luaVersion: "5.1" | |
- uses: leafo/[email protected] | |
- name: Lint | |
run: luarocks lint neotest-busted-scm-1.rockspec | |
- name: Test and upload | |
uses: nvim-neorocks/luarocks-tag-release@v5 | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} |