File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ task :
2+ name : Test
3+ env :
4+ BUSTED_TIMEOUT : 600000
5+ macos_instance :
6+ image : ghcr.io/cirruslabs/macos-ventura-base:latest
7+ package_script :
8+ - brew install fd elixir
9+ prepare_script : |
10+ test -d _neovim || {
11+ mkdir -p _neovim
12+ curl -sL "$URL" | tar xzf - --strip-components=1 -C "${PWD}/_neovim"
13+ }
14+ test_script : |
15+ export PATH="${PWD}/_neovim/bin:${PATH}"
16+ export VIM="${PWD}/_neovim/share/nvim/runtime"
17+ chmod +x bin/test
18+ chmod +x bin/compile
19+ bin/test
Original file line number Diff line number Diff line change 1+ name : Tests (Apple Silicon)
2+
3+ on : [push, pull_request]
4+ concurrency :
5+ group : apple-silicon-ci-${{ github.ref }}
6+ cancel-in-progress : true
7+
8+ jobs :
9+ unit_tests :
10+ if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true)
11+ strategy :
12+ matrix :
13+ neovim : [nightly, v0.9.2, v0.8.3]
14+ uses : elixir-tools/private-workflows/.github/workflows/ci.yaml@main
15+ with :
16+ name : unit tests
17+ repo : elixir-tools/elixir-tools.nvim
18+ args : -e URL="https://github.com/neovim/neovim/releases/download/${{ matrix.neovim }}/nvim-macos.tar.gz"
19+ secrets :
20+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2020 manager : sudo apt-get
2121 packages : -y fd-find esl-erlang elixir
2222 - os : ubuntu-20.04
23- url : https://github.com/neovim/neovim/releases/download/v0.9.1 /nvim-linux64.tar.gz
23+ url : https://github.com/neovim/neovim/releases/download/v0.9.2 /nvim-linux64.tar.gz
2424 manager : sudo apt-get
2525 packages : -y fd-find esl-erlang elixir
2626 - os : ubuntu-20.04
3232 manager : brew
3333 packages : fd elixir
3434 - os : macos-12
35- url : https://github.com/neovim/neovim/releases/download/v0.9.1 /nvim-macos.tar.gz
35+ url : https://github.com/neovim/neovim/releases/download/v0.9.2 /nvim-macos.tar.gz
3636 manager : brew
3737 packages : fd elixir
3838 - os : macos-12
6666 mkdir -p _neovim
6767 curl -sL ${{ matrix.url }} | tar xzf - --strip-components=1 -C "${PWD}/_neovim"
6868 }
69- # mkdir -p ~/.local/share/nvim/site/pack/vendor/start
70- # git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
71- # git clone --depth 1 https://github.com/tpope/vim-projectionist ~/.local/share/nvim/site/pack/vendor/start/vim-projectionist
72- # ln -s "$(pwd)" ~/.local/share/nvim/site/pack/vendor/start
7369
7470 - name : Run tests
7571 env :
You can’t perform that action at this time.
0 commit comments