refactor(command): move read_start into spawn #39
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: CI | |
on: [push, pull_request] | |
jobs: | |
unit_tests: | |
name: unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: install fzf | |
run: | | |
sudo apt-get update -y | |
sudo apt install fzf | |
- name: install lua | |
uses: leafo/gh-actions-lua@v10 | |
- name: install luarocks | |
uses: leafo/gh-actions-luarocks@v4 | |
- name: install plenary.nvim | |
uses: actions/checkout@v3 | |
with: | |
repository: nvim-lua/plenary.nvim | |
path: plenary.nvim | |
- name: install luacov | |
run: | | |
luarocks install luacov | |
luarocks install luacov-console | |
- name: install neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
- name: run tests | |
run: NOCLEAN=1 make testcov | |
- name: upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: luacov.report.out, luacov.stats.out | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |