mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Merge branch 'enhancement/project_root_folders_support_list_of_str_for_leaf_folders' of https://github.com/BigRoy/ayon-core into enhancement/project_root_folders_support_list_of_str_for_leaf_folders
This commit is contained in:
commit
745daaec57
3 changed files with 33 additions and 3 deletions
31
.github/workflows/pr_unittests.yaml
vendored
Normal file
31
.github/workflows/pr_unittests.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
name: 🧐 Run Unit Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ develop ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ develop ]
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number}}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
- name: Install requirements
|
||||||
|
run: ./tools/manage.sh create-env
|
||||||
|
- name: Run tests
|
||||||
|
run: ./tools/manage.sh run-tests
|
||||||
|
|
@ -53,7 +53,7 @@ IMAGE_EXTENSIONS = {
|
||||||
".kra", ".logluv", ".mng", ".miff", ".nrrd", ".ora",
|
".kra", ".logluv", ".mng", ".miff", ".nrrd", ".ora",
|
||||||
".pam", ".pbm", ".pgm", ".ppm", ".pnm", ".pcx", ".pgf",
|
".pam", ".pbm", ".pgm", ".ppm", ".pnm", ".pcx", ".pgf",
|
||||||
".pictor", ".png", ".psd", ".psb", ".psp", ".qtvr",
|
".pictor", ".png", ".psd", ".psb", ".psp", ".qtvr",
|
||||||
".ras", ".rgbe", ".sgi", ".tga",
|
".ras", ".rgbe", ".sgi", ".sxr", ".tga",
|
||||||
".tif", ".tiff", ".tiff/ep", ".tiff/it", ".ufo", ".ufp",
|
".tif", ".tiff", ".tiff/ep", ".tiff/it", ".ufo", ".ufp",
|
||||||
".wbmp", ".webp", ".xr", ".xt", ".xbm", ".xcf", ".xpm", ".xwd"
|
".wbmp", ".webp", ".xr", ".xt", ".xbm", ".xcf", ".xpm", ".xwd"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -343,8 +343,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
||||||
# to be published locally
|
# to be published locally
|
||||||
continue
|
continue
|
||||||
|
|
||||||
valid = "review" in tags or "thumb-nuke" in tags
|
if "review" not in tags:
|
||||||
if not valid:
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not repre.get("files"):
|
if not repre.get("files"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue