File tree Expand file tree Collapse file tree 1 file changed +0
-64
lines changed Expand file tree Collapse file tree 1 file changed +0
-64
lines changed Original file line number Diff line number Diff line change 20
20
version : latest
21
21
args : --check .
22
22
23
- legacy_tests :
24
- name : legacy tests
25
- runs-on : ${{ matrix.os }}
26
-
27
- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true)
28
-
29
- strategy :
30
- matrix :
31
- include :
32
- - os : ubuntu-20.04
33
- url : https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz
34
- manager : sudo apt-get
35
- packages : -y fd-find esl-erlang elixir
36
- - os : ubuntu-20.04
37
- url : https://github.com/neovim/neovim/releases/download/v0.9.5/nvim-linux64.tar.gz
38
- manager : sudo apt-get
39
- packages : -y fd-find esl-erlang elixir
40
- - os : ubuntu-20.04
41
- url : https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-linux64.tar.gz
42
- manager : sudo apt-get
43
- packages : -y fd-find esl-erlang elixir
44
- - os : macos-14
45
- url : https://github.com/neovim/neovim/releases/download/nightly/nvim-macos-x86_64.tar.gz
46
- manager : brew
47
- packages : fd elixir
48
- - os : macos-14
49
- url : https://github.com/neovim/neovim/releases/download/v0.9.5/nvim-macos.tar.gz
50
- manager : brew
51
- packages : fd elixir
52
- - os : macos-14
53
- url : https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-macos.tar.gz
54
- manager : brew
55
- packages : fd elixir
56
- steps :
57
- - uses : actions/checkout@v4
58
- - run : date +%F > todays-date
59
- - name : Restore from todays cache
60
- uses : actions/cache@v4
61
- with :
62
- path : _neovim
63
- key : ${{ runner.os }}-${{ matrix.url }}-${{ hashFiles('todays-date') }}
64
-
65
- - name : Add Repository
66
- if : matrix.os == 'ubuntu-20.04'
67
- run : wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
68
-
69
- - name : Prepare
70
- run : |
71
- ${{ matrix.manager }} update
72
- ${{ matrix.manager }} install ${{ matrix.packages }}
73
- test -d _neovim || {
74
- mkdir -p _neovim
75
- curl -sL ${{ matrix.url }} | tar xzf - --strip-components=1 -C "${PWD}/_neovim"
76
- }
77
-
78
- - name : Run legacy tests
79
- env :
80
- BUSTED_TIMEOUT : 600000
81
- run : |
82
- export PATH="${PWD}/_neovim/bin:${PATH}"
83
- export VIM="${PWD}/_neovim/share/nvim/runtime"
84
- nvim --version
85
- bin/test
86
-
87
23
tests :
88
24
name : tests
89
25
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments