Skip to content

Stop claiming a pass-through wrapper proves the decoder did not clamp… #46

Stop claiming a pass-through wrapper proves the decoder did not clamp…

Stop claiming a pass-through wrapper proves the decoder did not clamp… #46

Workflow file for this run

name: docker-tests
# Builds the ComfyUI + ComfyUI-OCIO image and runs the pack's tests inside it. GitHub runners are
# amd64; the Dockerfile is arch-agnostic (same file builds native arm64 on an Apple-silicon Mac).
on:
push:
branches: [main, docker-comfyui-test-env]
pull_request:
workflow_dispatch:
jobs:
docker-tests:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Build image (with layer cache)
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
load: true
tags: comfyui-ocio:ci
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Standalone tests + node-registration smoke
run: docker run --rm comfyui-ocio:ci bash custom_nodes/ComfyUI-OCIO/docker/run_tests.sh
- name: Marcie round-trip color-accuracy test
run: |
mkdir -p data
docker run --rm -v "${{ github.workspace }}/data:/data" \
comfyui-ocio:ci python custom_nodes/ComfyUI-OCIO/docker/roundtrip_test.py
- name: Upload round-trip outputs
if: always()
uses: actions/upload-artifact@v4
with:
name: roundtrip-output
path: data/
if-no-files-found: ignore