fix(loop): schedule debounced callbacks and check closed status #3652
Workflow file for this run
This file contains hidden or 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: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: date +%F > todays-date | |
| - name: Restore cache for today's nightly. | |
| uses: actions/cache@v2 | |
| with: | |
| path: | | |
| _neovim | |
| key: ${{ runner.os }}-x64-${{ hashFiles('todays-date') }} | |
| - name: Prepare | |
| run: | | |
| sudo apt install fd-find | |
| mkdir -p ~/.local/share/nvim/site/pack/vendor/start | |
| git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim | |
| ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start | |
| - name: Run tests | |
| run: | | |
| curl -OL https://raw.githubusercontent.com/norcalli/bot-ci/master/scripts/github-actions-setup.sh | |
| source github-actions-setup.sh nightly-x64 | |
| git config --global user.name "foo" | |
| git config --global user.email "foo@bar.com" | |
| nvim --headless -c "PlenaryBustedDirectory tests" | |
| commit_lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: webiny/action-conventional-commits@v1.0.3 |