Fix window picker's hint logic to filter to only valid, visible windo… #163
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: tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "lua/**" | |
- "spec/**" | |
- ".github/workflows/tests.yml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "lua/**" | |
- "spec/**" | |
- ".github/workflows/tests.yml" | |
env: | |
CI: true | |
ROAM_DEBUG: true | |
ROAM_TEST_REPORT: false | |
ROAM_WAIT_TIME: 500 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: JohnnyMorganz/stylua-action@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
args: --check lua/ spec/ | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
# NOTE: Nightly disabled until neovim/neovim#30792 is fixed! | |
# Once it is fixed, add "nightly" back to version list. | |
version: [v0.9.4, v0.9.5, v0.10.2, v0.10.3] | |
os: [ubuntu-latest] | |
include: | |
- os: windows-latest | |
version: v0.10.3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
id: neovim | |
with: | |
neovim: true | |
version: ${{ matrix.version }} | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 10 | |
command: make test |