diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33666c1..e51088a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,13 @@ jobs: test: strategy: matrix: - #os: [ubuntu-latest, windows-latest, macos-latest] - os: [windows-latest, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} + env: + CI: true + steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 53d6e48..811b2a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,16 +15,19 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: User Interfaces", ] keywords = ["webview", "gui", "desktop", "application", "html", "web"] dependencies = [] -requires-python = ">=3.7" +requires-python = ">=3.8" [project.urls] Homepage = "https://github.com/congzhangzh/webview_python" diff --git a/tests/test_webview.py b/tests/test_webview.py index 57b253e..55e4332 100644 --- a/tests/test_webview.py +++ b/tests/test_webview.py @@ -1,6 +1,12 @@ +import os +import platform import unittest from webview import Webview, Size, SizeHint +@unittest.skipIf( + platform.system() == "Darwin" and bool(os.getenv("CI")), + "Skipping test on macOS CI" +) class TestWebview(unittest.TestCase): def test_create_webview(self): webview = Webview()