Skip to content

Commit 921f2fb

Browse files
committed
ci: Update test config for Python 3.11 only
1 parent 4d4f661 commit 921f2fb

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ on:
55

66
jobs:
77
test:
8-
runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
8+
runs-on: ${{ matrix.os || 'ubuntu-24.04' }}
99
strategy:
1010
matrix:
11-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
12-
include:
13-
- python-version: '3.7'
14-
os: 'ubuntu-22.04'
11+
python-version: ['3.11']
1512

1613
steps:
1714
- uses: actions/checkout@v3
@@ -21,7 +18,7 @@ jobs:
2118
- name: Install dependencies
2219
run: |
2320
sudo apt update
24-
sudo apt install libgirepository1.0-dev -y
21+
sudo apt install libgirepository1.0-dev libcairo2-dev -y
2522
pip install -r requirements.txt
2623
pip install tox-gh-actions
2724
- name: Test with tox

tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
[tox]
2-
envlist=py37,py38,py39,py310,py311
2+
envlist=py311
33
skipsdist=True
44

55
[gh-actions]
66
python =
7-
3.7: py37
8-
3.8: py38
9-
3.9: py39
10-
3.10: py310
117
3.11: py311
128

139
[testenv]

0 commit comments

Comments
 (0)