Skip to content

Commit

Permalink
Merge pull request #737 from python-eel/update-testing-workflow
Browse files Browse the repository at this point in the history
Update testing workflow
  • Loading branch information
samuelhwilliams authored Jul 11, 2024
2 parents cef0009 + 26057dd commit 27ddbbe
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
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

0 comments on commit 27ddbbe

Please sign in to comment.