This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/python-3.7
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 2daa04a0f3256ca8f444cba42d00b856d5a85cc6
Author: Jürg Billeter <[email protected]>
AuthorDate: Thu Jul 18 20:29:15 2024 +0200

    ci: Run tests also on Ubuntu 20.04
    
    Ubuntu 20.04 uses Python 3.8, which is not covered by any other CI
    images.
---
 .github/compose/ci.docker-compose.yml | 4 ++++
 .github/run-ci.sh                     | 2 +-
 .github/workflows/ci.yml              | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/compose/ci.docker-compose.yml 
b/.github/compose/ci.docker-compose.yml
index 5789fd9e6..7ea54feb4 100644
--- a/.github/compose/ci.docker-compose.yml
+++ b/.github/compose/ci.docker-compose.yml
@@ -34,6 +34,10 @@ services:
     <<: *tests-template
     image: 
registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-debian:10-${CI_IMAGE_VERSION:-latest}
 
+  ubuntu-20.04:
+    <<: *tests-template
+    image: 
registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-ubuntu:20.04-${CI_IMAGE_VERSION:-latest}
+
   # Ensure that tests also pass in the absence of a sandboxing tool
   fedora-missing-deps:
     <<: *tests-template
diff --git a/.github/run-ci.sh b/.github/run-ci.sh
index 67104cda9..76d7af698 100755
--- a/.github/run-ci.sh
+++ b/.github/run-ci.sh
@@ -102,7 +102,7 @@ function runServiceTest() {
 
 
 if [ -z "${test_names}" ]; then
-    for test_name in mypy debian-10 fedora-38 fedora-39 fedora-missing-deps; do
+    for test_name in mypy debian-10 fedora-38 fedora-39 fedora-missing-deps 
ubuntu-20.04; do
        if ! runTest "${test_name}"; then
            echo "Tests failed"
            exit 1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b74a1a242..0a217b0d3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -40,6 +40,7 @@ jobs:
           - fedora-38
           - fedora-39
           - fedora-missing-deps
+          - ubuntu-20.04
           - lint
           - mypy
 

Reply via email to