Skip to content

Commit

Permalink
Use matrix build to test with all supported python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschanda committed Sep 16, 2023
1 parent 0d9084d commit e261da4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ permissions:

jobs:
build:
strategy:
matrix:
py-version: ["3.8", "3.9", "3.10", "3.11"]

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.py-version }}
uses: actions/setup-python@v3
with:
python-version: "3.8"
python-version: ${{ matrix.py-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit e261da4

Please sign in to comment.