Skip to content

Unify formatting (#44) #114

Unify formatting (#44)

Unify formatting (#44) #114

Workflow file for this run

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