-
-
Notifications
You must be signed in to change notification settings - Fork 15
52 lines (42 loc) · 1.11 KB
/
e2e-tests.yml
File metadata and controls
52 lines (42 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: E2E Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.10.4
- name: Install jq
if: runner.os == 'Linux'
run: sudo apt-get install -y jq
- name: Install bun (for OpenCode tests)
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install plenary.nvim (test dependency)
run: |
mkdir -p deps
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim deps/plenary.nvim
- name: Verify dependencies
run: |
nvim --version | head -3
jq --version
bun --version
- name: Run E2E tests
run: |
chmod +x tests/run.sh tests/run_lua.sh tests/helpers.sh
chmod +x bin/*.sh
./tests/run.sh