Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit 27ddbbe

Browse files
Merge pull request #737 from python-eel/update-testing-workflow
Update testing workflow
2 parents cef0009 + 26057dd commit 27ddbbe

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ name: Test Eel
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [main]
9+
workflow_dispatch:
710

811
jobs:
912
test:
10-
runs-on: ${{ matrix.os }}
11-
1213
strategy:
1314
fail-fast: false
1415
matrix:
@@ -18,6 +19,8 @@ jobs:
1819
- os: macos-latest
1920
python-version: 3.7
2021

22+
runs-on: ${{ matrix.os }}
23+
2124
steps:
2225
- name: Checkout repository
2326
uses: actions/checkout@v2
@@ -31,15 +34,19 @@ jobs:
3134
run: tox -- --durations=0 --timeout=30
3235

3336
typecheck:
34-
runs-on: windows-latest
37+
strategy:
38+
matrix:
39+
os: [windows-latest]
40+
41+
runs-on: ${{ matrix.os }}
3542

3643
steps:
3744
- name: Checkout repository
3845
uses: actions/checkout@v2
3946
- name: Setup python
4047
uses: actions/setup-python@v2
4148
with:
42-
python-version: "3.10"
49+
python-version: "3.x"
4350
- name: Setup test execution environment.
4451
run: pip3 install -r requirements-meta.txt
4552
- name: Run tox tests

mypy.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
python_version = 3.10
33
warn_unused_configs = True
44

5+
[mypy-bottle_websocket]
6+
ignore_missing_imports = True
7+
58
[mypy-jinja2]
69
ignore_missing_imports = True
710

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ pytest>=7.0.0,<8.0.0
55
pytest-timeout>=2.0.0,<3.0.0
66
selenium>=4.0.0,<5.0.0
77
webdriver_manager>=4.0.0,<5.0.0
8-
mypy==0.971
8+
mypy>=1.0.0,<2.0.0
99
pyinstaller
1010
types-setuptools

0 commit comments

Comments
 (0)