Skip to content

Commit 25f3a69

Browse files
committed
Change ubuntu version in github actions and update its python version to be compatible
1 parent b478fbb commit 25f3a69

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,24 @@ jobs:
1010
# * test on different operative systems
1111
# * test minimal versions: python 3.8.0 + lowest full requirements (of direct packages only)
1212
# * test latest versions: python 3.x + latest full requirements
13-
os: ["windows-2022", "macos-13", "ubuntu-20.04"]
14-
versions: [["3.8.0", "--resolution lowest-direct .[full]"], ["3.x", ".[full]"]]
15-
runs-on: ${{ matrix.os }}
13+
environment: [
14+
["windows-2022", "3.8.0", "--resolution lowest-direct .[full]"],
15+
["windows-2022", "3.x", ".[full]"],
16+
["macos-13", "3.8.0", "--resolution lowest-direct .[full]"],
17+
["macos-13", "3.x", ".[full]"],
18+
["ubuntu-24.04", "3.8.12", "--resolution lowest-direct .[full]"]
19+
["ubuntu-24.04", "3.x", ".[full]"]
20+
]
21+
runs-on: ${{ matrix.environment[0] }}
1622
steps:
1723
- uses: actions/checkout@v4
1824
- uses: actions/setup-python@v5
1925
with:
20-
python-version: ${{ matrix.versions[0] }}
26+
python-version: ${{ matrix.environment[1] }}
2127
- name: Install Dependencies
2228
run: |
2329
python -m pip install --upgrade pip pytest uv
24-
uv pip install --upgrade ${{ matrix.versions[1] }} --system
30+
uv pip install --upgrade ${{ matrix.environment[2] }} --system
2531
- name: Print Versions
2632
run: |
2733
python --version

0 commit comments

Comments
 (0)