Skip to content

Commit

Permalink
Improved GitHub Actions CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Dec 7, 2024
1 parent 6bb237c commit da28898
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.9, '3.10', 3.11, 3.12]
python: [3.8, 3.9, '3.10', 3.11, 3.12]
sklearn: [1.0.2, 1.1.3, 1.2.2, 1.3.2, 1.4.2, 1.5.2]
exclude:
- python: 3.8
sklearn: 1.4.2
- python: 3.8
sklearn: 1.5.2
- python: 3.11
sklearn: 1.0.2
- python: 3.12
Expand All @@ -24,17 +28,11 @@ jobs:
sklearn: 1.2.2

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
cache: 'pip'
- run: |
python -m pip install --upgrade pip
pip install pytest
Expand Down

0 comments on commit da28898

Please sign in to comment.