Updates lazy-lock #238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
test-static: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.8,<2.10" | |
- name: Running static checks | |
run: make deps && ansible-playbook main.yml --syntax-check | |
test-homebrew: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing homebrew tasks | |
run: make homebrew | |
test-gpg: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing gpg tasks | |
run: make gpg | |
test-ssh: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing ssh tasks | |
run: make ssh | |
test-dotfiles: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing dotfiles tasks | |
run: make dotfiles | |
test-tmux: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing tmux tasks | |
run: make tmux | |
test-fish: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing fish tasks | |
run: make fish | |
test-osx: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" | |
- name: Testing osx tasks | |
run: make osx | |
test-upgrade: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Installing homebrew | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && \ | |
pip3 install "ansible>2.9,<2.10" && brew install mas | |
- name: Testing homebrew upgrade | |
run: make upgrade |