test.ci: now all use -a to install deps

This commit is contained in:
xiongdian.me 2022-12-03 16:33:47 +08:00
parent df8eddf846
commit a5db810891

View File

@ -7,12 +7,6 @@ jobs:
name: test on ubuntu
runs-on: ubuntu-latest
steps:
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y git python3 python3-pip zsh curl inetutils-ping
sudo pip3 install requests
- name: checkout repo
uses: actions/checkout@v3
with:
@ -22,7 +16,7 @@ jobs:
run: |
rev=`git rev-parse HEAD`
pwd
./install.sh -dl
./install.sh -adl
test `git rev-parse HEAD` = "$rev"
- name: antigen build
@ -55,12 +49,6 @@ jobs:
name: test on macos
runs-on: macos-12
steps:
- name: install dependencies
run: |
brew update
brew install git python3 zsh curl
sudo pip3 install requests
- name: checkout repo
uses: actions/checkout@v3
with:
@ -70,7 +58,7 @@ jobs:
run: |
rev=`git rev-parse HEAD`
pwd
./install.sh -dl
./install.sh -adl
test `git rev-parse HEAD` = "$rev"
- name: antigen build