ci: split

Former-commit-id: fea7771a0c
This commit is contained in:
Wenxuan Zhang 2020-08-11 17:07:46 +08:00
parent 959052aabf
commit 428ed11618

View file

@ -27,15 +27,14 @@ jobs:
shell: bash shell: bash
run: | run: |
if [[ "${{ matrix.os }}" == macos* ]]; then if [[ "${{ matrix.os }}" == macos* ]]; then
brew install fish zsh brew install fish zsh || true
elif [[ "${{ matrix.os }}" == ubuntu* ]]; then elif [[ "${{ matrix.os }}" == ubuntu* ]]; then
sudo apt -y update sudo apt -y update
sudo apt -y install fish zsh sudo apt -y install fish zsh
fi fi
- name: Test bash
# Runs a set of commands using the runners shell run: bash forgit.plugin.sh
- name: Test sourcing - name: Test zsh
run: | run: zsh forgit.plugin.zsh
bash forgit.plugin.sh - name: Test fish
zsh forgit.plugin.zsh run: fish forgit.plugin.fish
fish forgit.plugin.fish