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

Commit e537653

Browse files
Update testing workflow
1 parent cef0009 commit e537653

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
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

0 commit comments

Comments
 (0)