Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DamKast committed Jun 20, 2024
1 parent 887abca commit 580e904
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ on:
env:
CODE_FOLDER: zigpy_zboss
CACHE_VERSION: 2
DEFAULT_PYTHON: 3.8
DEFAULT_PYTHON: 3.10.8
PRE_COMMIT_CACHE_PATH: ~/.cache/pre-commit
PYTHON_MATRIX:
description: 'Comma-separated list of Python versions e.g. "3.11","3.12"'
default: '"3.8.14", "3.9.15", "3.10.8", "3.11.0", "3.12"'
required: false
type: string

jobs:
# Separate job to pre-populate the base dependency cache
Expand All @@ -26,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ${{ fromJSON(format('[{0}]', env.PYTHON_MATRIX)) }}
python-version: ["3.8.14", "3.9.15", "3.10.8", "3.11.0", "3.12"]
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2
Expand Down Expand Up @@ -155,7 +150,7 @@ jobs:
needs: prepare-base
strategy:
matrix:
python-version: ${{ fromJSON(format('[{0}]', env.PYTHON_MATRIX )) }}
python-version: ["3.8.14", "3.9.15", "3.10.8", "3.11.0", "3.12"]
name: >-
Run tests Python ${{ matrix.python-version }}
steps:
Expand Down

0 comments on commit 580e904

Please sign in to comment.