Skip to content

Commit d67439c

Browse files
committed
ci: Add Debian 12 and 13 and Fedora 43 and update images
Debian 12 extends test coverage to Python 3.11. It is supported until June 10, 2028, which covers the full upstream Python 3.11 support period. Debian 13 provides long-term test coverage of Python 3.13. It is supported until June 30, 2030, which covers the full upstream Python 3.13 support period. Fedora 43 extends test coverage to Python 3.14.
1 parent 5bb2a27 commit d67439c

5 files changed

Lines changed: 19 additions & 4 deletions

File tree

.github/common.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Shared common variables
22

3-
CI_IMAGE_VERSION=master-1869708273
3+
CI_IMAGE_VERSION=master-2057058575
44
CI_TOXENV_ALL=py39,py310,py311,py312,py313,py314
55
CI_TOXENV_MASTER=py39-bst-master,py310-bst-master,py311-bst-master,py312-bst-master,py313-bst-master,py314-bst-master

.github/compose/ci.docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,22 @@ services:
2626
<<: *tests-template
2727
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-debian:11-${CI_IMAGE_VERSION:-latest}
2828

29+
debian-12:
30+
<<: *tests-template
31+
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-debian:12-${CI_IMAGE_VERSION:-latest}
32+
33+
debian-13:
34+
<<: *tests-template
35+
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-debian:13-${CI_IMAGE_VERSION:-latest}
36+
2937
fedora-42:
3038
<<: *tests-template
3139
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:42-${CI_IMAGE_VERSION:-latest}
3240

41+
fedora-43:
42+
<<: *tests-template
43+
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:43-${CI_IMAGE_VERSION:-latest}
44+
3345
ubuntu-22.04:
3446
<<: *tests-template
3547
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-ubuntu:22.04-${CI_IMAGE_VERSION:-latest}

.github/run-ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function runTest() {
6767

6868

6969
if [ -z "${test_names}" ]; then
70-
for test_name in "mypy debian-11 fedora-42 fedora-missing-deps ubuntu-22.04"; do
70+
for test_name in "mypy debian-11 debian-12 debian-13 fedora-42 fedora-43 fedora-missing-deps ubuntu-22.04"; do
7171
if ! runTest "${test_name}"; then
7272
echo "Tests failed"
7373
exit 1

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
# "../compose/ci.docker-compose.yml"
3838
test-name:
3939
- debian-11
40+
- debian-12
41+
- debian-13
4042
- fedora-42
43+
- fedora-43
4144
- fedora-missing-deps
4245
- ubuntu-22.04
4346
- lint

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ skip_missing_interpreters = true
2727
[testenv]
2828
commands =
2929
bst --version
30-
./tests/bzr_wrapper {envdir}/bin
30+
{toxinidir}/tests/bzr_wrapper {envdir}/bin
3131
pytest --basetemp {envtmpdir} {posargs}
3232
deps =
3333
-rrequirements/test-requirements.txt
@@ -65,7 +65,7 @@ allowlist_externals =
6565
py{39,310,311,312,313,314}:
6666
mv
6767
mkdir
68-
./tests/bzr_wrapper
68+
{toxinidir}/tests/bzr_wrapper
6969

7070
#
7171
# Code formatters

0 commit comments

Comments
 (0)