Skip to content

Commit

Permalink
Update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhwilliams committed Jul 11, 2024
1 parent cef0009 commit 3367485
Showing 1 changed file with 12 additions and 5 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: [ubuntu-latest, windows-latest, macos-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

0 comments on commit 3367485

Please sign in to comment.