Skip to content

Commit

Permalink
Matrix testing python versions (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogversioning authored Jan 21, 2025
1 parent 60209ac commit 8bd9789
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ concurrency:
jobs:
unittest:
name: unit tests
strategy:
matrix:
python-version: ["3.11","3.12","3.13"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}
cache: pip

- name: Install dependencies
Expand Down Expand Up @@ -52,13 +55,16 @@ jobs:


lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11","3.12","3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}
- name: Install linters
run: |
python -m pip install --upgrade pip
Expand All @@ -71,6 +77,7 @@ jobs:
run: |
ruff check
ruff format --check
# Note: regression job should not be matrixed due to remote db concurrency issue
regression:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 8bd9789

Please sign in to comment.