mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-30 19:20:29 +08:00
ci: test --auto
This commit is contained in:
parent
6e20aad6f8
commit
664b49c76e
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
@ -22,8 +22,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rev=`git rev-parse HEAD`
|
rev=`git rev-parse HEAD`
|
||||||
pwd
|
pwd
|
||||||
export DFS_NO_COMPILE=1 DFS_DEV=1
|
export DFS_NO_COMPILE=1
|
||||||
./install.sh
|
./install.sh -d
|
||||||
test `git rev-parse HEAD` = "$rev"
|
test `git rev-parse HEAD` = "$rev"
|
||||||
|
|
||||||
- name: antigen build
|
- name: antigen build
|
||||||
@ -70,8 +70,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rev=`git rev-parse HEAD`
|
rev=`git rev-parse HEAD`
|
||||||
pwd
|
pwd
|
||||||
export DFS_NO_COMPILE=1 DFS_DEV=1
|
export DFS_NO_COMPILE=1
|
||||||
./install.sh
|
./install.sh -d
|
||||||
test `git rev-parse HEAD` = "$rev"
|
test `git rev-parse HEAD` = "$rev"
|
||||||
|
|
||||||
- name: antigen build
|
- name: antigen build
|
||||||
@ -97,4 +97,28 @@ jobs:
|
|||||||
|
|
||||||
- name: run tests
|
- name: run tests
|
||||||
shell: /bin/zsh -ileo PIPE_FAIL {0}
|
shell: /bin/zsh -ileo PIPE_FAIL {0}
|
||||||
run: source tools/test.zsh
|
run: source tools/test.zsh
|
||||||
|
|
||||||
|
test-autodep:
|
||||||
|
name: test of auto-install dependencies
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: install dfs
|
||||||
|
run: |
|
||||||
|
rev=`git rev-parse HEAD`
|
||||||
|
export DFS_NO_COMPILE=1
|
||||||
|
./install.sh -d -a
|
||||||
|
test `git rev-parse HEAD` = "$rev"
|
||||||
|
|
||||||
|
- name: antigen build with DFS_NO_WALL
|
||||||
|
shell: /bin/zsh -ileo PIPE_FAIL {0}
|
||||||
|
env:
|
||||||
|
DFS_NO_WALL: 1
|
||||||
|
run: |
|
||||||
|
echo $SHELL
|
||||||
|
antigen list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user