Skip to content

Commit 9e5df6b

Browse files
committed
chore(ci): add homebrew python integration test
1 parent 6027c8e commit 9e5df6b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/installer.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,29 @@ jobs:
139139
run: |
140140
python3 install-poetry.py -y --uninstall
141141
{ type poetry 2>/dev/null >&2 && exit 1; } || exit 0
142+
143+
integration-macos-homebrew:
144+
name: Integration Test / MacOS / Homebrew Python
145+
runs-on: macos-latest
146+
defaults:
147+
run:
148+
shell: bash
149+
steps:
150+
- uses: actions/checkout@v4
151+
152+
- name: Install Homebrew
153+
run: |
154+
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
155+
156+
- name: Install Python
157+
run: brew install python
158+
159+
- name: Install Poetry
160+
run: curl -sSL https://install.python-poetry.org | python3 -
161+
162+
- name: Test Poetry
163+
run: |
164+
poetry new foo
165+
cd foo
166+
poetry add pycowsay
167+
poetry run pycowsay

0 commit comments

Comments
 (0)