File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 test :
1414 name : Test (Python ${{ matrix.python-version }}, ${{ matrix.os }})
1515 runs-on : ${{ matrix.os }}
16+ timeout-minutes : 10
1617 strategy :
1718 fail-fast : false
1819 matrix :
Original file line number Diff line number Diff line change 66"""
77
88import pytest
9+ import os
10+ import sys
911import tkinter as tk
1012import threading
1113import time
1214from pathlib import Path
1315from unittest .mock import Mock , patch , MagicMock
1416from techcompressor .gui import TechCompressorApp , GUILogHandler
1517
18+ # Skip all GUI tests on CI or macOS (Tkinter hangs in headless environments)
19+ pytestmark = pytest .mark .skipif (
20+ os .environ .get ('CI' ) == 'true' or sys .platform == 'darwin' ,
21+ reason = "GUI tests skipped on CI/macOS (Tkinter hangs in headless mode)"
22+ )
23+
1624
1725def test_gui_loads ():
1826 """Test that GUI application initializes without errors (headless mode)."""
You can’t perform that action at this time.
0 commit comments