Skip to content

wip: added zsh to gh action x #243

wip: added zsh to gh action x

wip: added zsh to gh action x #243

Workflow file for this run

name: Test
on:
push:
branches-ignore:
- main
jobs:
macbook:
runs-on: macos-latest
defaults:
run:
shell: zsh {0}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Ansible
run: pip install ansible
- name: Check Ansible path
run: echo 'export PATH="$(python3 -m site --user-base)/bin:$PATH"' >> $GITHUB_ENV
- name: Installs ansible and pip
run: ansible-galaxy collection install -r requirements.yml
- name: makes this target
run: ansible-playbook thiscomputer.yml -i hosts -e "hostname=github-runner"
- name: Runs the debug target
run: make debug
- name: runs the terminal target
run: make terminal
- name: runs the aliases target
run: make aliases
- name: cat zshrc
run: cat ~/.macfair/version
- name: runs the newcomputer target with vars to bypass prompt
run: ansible-playbook newcomputer.yml -i hosts -e "target=dox.io37.ch" -e "user=deploy" -e "group=debian"
- name: source zshrc & run aliases
run: source ~/.zshrc && aliases
shell: zsh {0}
- name: source zshrc
run: aliases
shell: zsh {0}