-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1.25 KB
/
ci.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
name: Dotfiles Installation Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-installation:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Run Installation Script
run: make install
- name: Check zsh configuration
run: |
test -f "$HOME/.zshrc" || (echo "Zsh configuration dont exist" && exit 1)
test -d "$HOME/.oh-my-zsh" || (echo "Oh My Zsh is not installed" && exit 1)
shell: zsh {0}
- name: Check for Neovim configuration
run: |
test -f "$HOME/.config/nvim/init.lua" || (echo "Neovim configuration dont exist" && exit 1)
test -d "$HOME/.config/nvim/lua/custom" || (echo "Neovim plugins dont exist" && exit 1)
shell: zsh {0}
- name: Check for conda configuration
run: |
conda --version || (echo "Conda is not installed" && exit 1)
shell: zsh {0}
- name: Check for Tmux configuration
run: |
test -f "$HOME/.tmux.conf" || (echo "Tmux configuration dont exist" && exit 1)
test -d "$HOME/.tmux/plugins/tpm" || (echo "Tmux plugins dont exist" && exit 1)
shell: zsh {0}