Skip to content

Commit

Permalink
ci: run unittest on matrix of os and python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Oct 26, 2022
1 parent 4306e61 commit 820cbf0
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@ on:
pull_request:
workflow_dispatch:

defaults:
run:
shell: bash {0}

jobs:
build:
runs-on: ubuntu-latest
test:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
os: [ubuntu, macos, windows]
python: [3.7, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python }}
cache: "pip"
- name: Install
run: pip install ".[dev]"
- name: test
Expand Down

0 comments on commit 820cbf0

Please # to comment.