3 Star 4 Fork 1

Gitee 极速下载/pywebview

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/r0x0r/pywebview
克隆/下载
appveyor.yml 2.71 KB
一键复制 编辑 原始数据 按行查看 历史
Roman Sirokov 提交于 2024-04-17 11:00 . update appveyor
image:
- macos
- Ubuntu2004
- Ubuntu2204
- Visual Studio 2022
for:
-
matrix:
only:
- image: Visual Studio 2022
# cache:
# - C:\ProgramData\chocolatey\bin -> appveyor.yml
# - C:\ProgramData\chocolatey\lib -> appveyor.yml
environment:
PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
APPVEYOR_BAKE_IMAGE: pywebview-visualstudio2022
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "choco install webview2-runtime --ignore-checksums"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "%CMD_IN_ENV% pip install -r requirements.txt"
- "%CMD_IN_ENV% pip install \"pytest>=4.3.0\" pythonnet bottle .[cef]"
test_script:
- cd tests
- powershell -File ./run.ps1
-
matrix:
only:
- image: Ubuntu2004
environment:
PYWEBVIEW_GUI: qt
DISPLAY: :99
QT_QPA_PLATFORM: offscreen
install:
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y xvfb python3-pyqt5 python3-pyqt5.qtwebkit libqt5webkit5-dev python3-pep8 pyflakes python3-pytest
- python3 -m pip install proxy_tools pytest bottle typing_extensions QtPy PyQt5 pyqtwebengine
before_test:
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset && sleep 3;
test_script:
- cd tests
- ./run.sh
after_test:
- killall Xvfb
-
matrix:
only:
- image: Ubuntu2204
environment:
PYWEBVIEW_GUI: gtk
DISPLAY: :99
install:
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y xvfb gir1.2-gtk-3.0 gir1.2-webkit2-4.0 python3-gi python3-gi-cairo python3-pep8 pyflakes3 python3-pytest
- python3 -m pip install proxy_tools pytest bottle typing_extensions pygobject
before_test:
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset && sleep 3;
test_script:
- cd tests
- ./run.sh
after_test:
- killall Xvfb
-
matrix:
only:
- image: macos
artifacts:
- path: /tmp/screenshots
name: Screenshots
install:
- python3 -m pip install --user pyobjc pytest proxy_tools bottle typing_extensions
test_script:
- cd tests
- PYWEBVIEW_LOG=debug python3 -m pytest test_simple_browser.py
- ./run.sh
- python3 -m pip install --user pyobjc pytest proxy_tools bottle typing_extensions
build: off
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/pywebview.git
git@gitee.com:mirrors/pywebview.git
mirrors
pywebview
pywebview
master

搜索帮助