File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 7575 - name : ' Install project'
7676 run : |
7777 yarn install
78- uv pip install -e . --group dev
78+ if [ "${{ github.event_name }}" = "pull_request" ] || [ "${{ github.ref }}" = "refs/heads/main" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
79+ uv pip install -e . --group dev --group unreleased-deps
80+ else
81+ uv pip install -e . --group dev
82+ fi
7983
8084 - name : ' Install Playwright Browsers'
8185 run : yarn playwright install --with-deps
@@ -203,7 +207,11 @@ jobs:
203207 run : |
204208 yarn install
205209 # install setuptools < 81 to fix issue with pkg_resources
206- uv pip install -e . --group docs "setuptools<81"
210+ if [ "${{ github.event_name }}" = "pull_request" ] || [ "${{ github.ref }}" = "refs/heads/main" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
211+ uv pip install -e . --group docs --group unreleased-deps "setuptools<81"
212+ else
213+ uv pip install -e . --group docs "setuptools<81"
214+ fi
207215
208216 - name : ' Build docs'
209217 run : |
Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ docs = [
5757 ' click<=8.2.1; python_version >= "3.9"' ,
5858 { include-group = " dev" },
5959]
60+ unreleased-deps = [
61+ " pret @ git+https://github.com/percevalw/pret.git@main" ,
62+ ]
6063
6164# ----- CLI configuration -----
6265[project .scripts ]
You can’t perform that action at this time.
0 commit comments