-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (54 loc) · 1.37 KB
/
test.yaml
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
53
54
55
56
57
58
59
60
name: test
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Bats and bats libs
uses: bats-core/[email protected]
- name: tests
working-directory: ./test
run: |
bats -T fixtures
test-dotme:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name:
run: |
echo $SHELL
sudo apt-get install stow
rm ~/.bashrc
rm ~/.bash_profile
./bin/dotme -i "shim|stow"
./start
. $HOME/.bash_profile
. $HOME/.bashrc
./bin/dotme verify
test-vim:
runs-on: ubuntu-latest
strategy:
matrix:
neovim: [false, true]
version: [stable]
fail-fast: false
steps:
- uses: actions/[email protected]
- name: checkout vader.vim
uses: actions/[email protected]
with:
repository: junegunn/vader.vim
path: ./test/vim/tmp/vim/plugins/vader.vim
- uses: rhysd/action-setup-vim@v1
id: vim
with:
neovim: ${{ matrix.neovim }}
version: ${{ matrix.version }}
- name: test
env:
VIM_COMMAND: ${{ steps.vim.outputs.executable }}
working-directory: ./test/vim
run: |
echo $VIM_COMMAND
make test