-
Notifications
You must be signed in to change notification settings - Fork 0
78 lines (63 loc) · 1.66 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Test
on:
pull_request:
types:
- opened
- synchronize
branches:
- main
env:
PYTHON_VENV_ROOT: ${{ github.workspace }}/src/python-venv
jobs:
aqua:
name: Check aqua
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: aquaproj/aqua-installer@f13c5d2f0357708d85477aabe50fd3f725528745 # v3.1.0
with:
aqua_version: v2.42.2
- name: aqua install
working-directory: aqua
run: aqua i -l
install_script:
name: Check install script
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run setup script
run: |
python3 -m venv ${PYTHON_VENV_ROOT}
source ${PYTHON_VENV_ROOT}/bin/activate
./setup.sh
zinit:
name: Check zinit
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install zsh
run: |
brew install zsh --ignore-dependencies
brew install pcre ncurses
- name: Setup zinit
shell: zsh {0}
run: |
python3 -m venv ${PYTHON_VENV_ROOT}
source ${PYTHON_VENV_ROOT}/bin/activate
./setup.sh
sh -c "$(curl -fsSL https://git.io/zinit-install)"
source ~/.zshrc
zinit self-update
status_check:
name: status check
needs:
- aqua
- install_script
- zinit
runs-on: ubuntu-latest
steps:
- run: exit 1
if: failure()