Skip to content

Commit c748f61

Browse files
Add python versions to the matrix.
1 parent 5986e8b commit c748f61

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: ["ubuntu-latest"]
18+
os: ["ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04"]
19+
python: ["3.9", "3.10", "3.11", "3.12"]
1920
runs-on: ${{ matrix.os }}
2021
steps:
2122
- uses: actions/checkout@v4
23+
- name: Setup Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ matrix.python }}
2227
- name: Lint with Ruff
2328
run: |
2429
pip install ruff

0 commit comments

Comments
 (0)