Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: Test Eel

on:
push:
branches: [ main ]
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
Expand All @@ -18,6 +19,8 @@ jobs:
- os: macos-latest
python-version: 3.7

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -31,15 +34,19 @@ jobs:
run: tox -- --durations=0 --timeout=30

typecheck:
runs-on: windows-latest
strategy:
matrix:
os: [windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.x"
- name: Setup test execution environment.
run: pip3 install -r requirements-meta.txt
- name: Run tox tests
Expand Down
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
python_version = 3.10
warn_unused_configs = True

[mypy-bottle_websocket]
ignore_missing_imports = True

[mypy-jinja2]
ignore_missing_imports = True

Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ pytest>=7.0.0,<8.0.0
pytest-timeout>=2.0.0,<3.0.0
selenium>=4.0.0,<5.0.0
webdriver_manager>=4.0.0,<5.0.0
mypy==0.971
mypy>=1.0.0,<2.0.0
pyinstaller
types-setuptools