Fix orgmode filetype not being detected open first opening buffer usi… #130
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: | |
version: [v0.9.2, v0.9.4, v0.9.5, nightly] | |
os: [ubuntu-latest] | |
include: | |
- os: windows-latest | |
version: v0.9.5 | |
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 |