mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
build: exclude ui from test-invoke-pip
(#2892)
Prior to the folder restructure, the `paths` for `test-invoke-pip` did not include the UI's path `invokeai/frontend/`: ```yaml paths: - 'pyproject.toml' - 'ldm/**' - 'invokeai/backend/**' - 'invokeai/configs/**' - 'invokeai/frontend/dist/**' ``` After the restructure, more code was moved into the `invokeai/frontend/` folder, and `paths` was updated: ```yaml paths: - 'pyproject.toml' - 'invokeai/**' - 'invokeai/backend/**' - 'invokeai/configs/**' - 'invokeai/frontend/web/dist/**' ``` Now, the second path includes the UI. The UI now needs to be excluded, and must be excluded prior to `invokeai/frontend/web/dist/**` being included. On `test-invoke-pip-skip`, we need to do a bit of logic juggling to invert the folder selection. First, include the web folder, then exclude everying around it and finally exclude the `dist/` folder
This commit is contained in:
commit
c6e8d3269c
12
.github/workflows/test-invoke-pip-skip.yml
vendored
12
.github/workflows/test-invoke-pip-skip.yml
vendored
@ -1,12 +1,12 @@
|
|||||||
name: Test invoke.py pip
|
name: Test invoke.py pip
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths:
|
||||||
- 'pyproject.toml'
|
- '**'
|
||||||
- 'invokeai/**'
|
- '!pyproject.toml'
|
||||||
- 'invokeai/backend/**'
|
- '!invokeai/**'
|
||||||
- 'invokeai/configs/**'
|
- 'invokeai/frontend/web/**'
|
||||||
- 'invokeai/frontend/web/dist/**'
|
- '!invokeai/frontend/web/dist/**'
|
||||||
merge_group:
|
merge_group:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
6
.github/workflows/test-invoke-pip.yml
vendored
6
.github/workflows/test-invoke-pip.yml
vendored
@ -6,15 +6,13 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- 'invokeai/**'
|
- 'invokeai/**'
|
||||||
- 'invokeai/backend/**'
|
- '!invokeai/frontend/web/**'
|
||||||
- 'invokeai/configs/**'
|
|
||||||
- 'invokeai/frontend/web/dist/**'
|
- 'invokeai/frontend/web/dist/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- 'invokeai/**'
|
- 'invokeai/**'
|
||||||
- 'invokeai/backend/**'
|
- '!invokeai/frontend/web/**'
|
||||||
- 'invokeai/configs/**'
|
|
||||||
- 'invokeai/frontend/web/dist/**'
|
- 'invokeai/frontend/web/dist/**'
|
||||||
types:
|
types:
|
||||||
- 'ready_for_review'
|
- 'ready_for_review'
|
||||||
|
Loading…
Reference in New Issue
Block a user