Skip to content

Commit

Permalink
.github: Run tests in fedora 37 as well
Browse files Browse the repository at this point in the history
And remove soon to be deprecated fedora 35
  • Loading branch information
jjardon authored and juergbi committed Jan 21, 2023
1 parent 32ecb2c commit cc67e29
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/common.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Shared common variables

CI_IMAGE_VERSION=master-533491591
CI_TOXENV_MAIN=py37,py38-nocover,py39-nocover,py310-nocover
CI_TOXENV_PLUGINS=py37-plugins,py38-plugins-nocover,py39-plugins-nocover,py310-plugins-nocover
CI_IMAGE_VERSION=master-643533272
CI_TOXENV_MAIN=py37,py38-nocover,py39-nocover,py310-nocover,py311-nocover
CI_TOXENV_PLUGINS=py37-plugins,py38-plugins-nocover,py39-plugins-nocover,py310-plugins-nocover,py311-plugins-nocover
CI_TOXENV_ALL="${CI_TOXENV_MAIN},${CI_TOXENV_PLUGINS}"
10 changes: 5 additions & 5 deletions .github/compose/ci.docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.4'

x-tests-template: &tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:35-${CI_IMAGE_VERSION:-latest}
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:36-${CI_IMAGE_VERSION:-latest}
command: tox -vvvvv -- --color=yes --integration
environment:
TOXENV: ${CI_TOXENV_ALL}
Expand All @@ -22,14 +22,14 @@ x-tests-template: &tests-template

services:

fedora-35:
<<: *tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:35-${CI_IMAGE_VERSION:-latest}

fedora-36:
<<: *tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:36-${CI_IMAGE_VERSION:-latest}

fedora-37:
<<: *tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:37-${CI_IMAGE_VERSION:-latest}

debian-10:
<<: *tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-debian:10-${CI_IMAGE_VERSION:-latest}
Expand Down
2 changes: 1 addition & 1 deletion .github/run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function runServiceTest() {


if [ -z "${test_names}" ]; then
for test_name in mypy debian-10 fedora-35 fedora-36 fedora-missing-deps; do
for test_name in mypy debian-10 fedora-36 fedora-37 fedora-missing-deps; do
if ! runTest "${test_name}"; then
echo "Tests failed"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
# "../compose/ci.docker-compose.yml"
test-name:
- debian-10
- fedora-35
- fedora-36
- fedora-37
- fedora-missing-deps
- lint
- mypy
Expand Down

0 comments on commit cc67e29

Please sign in to comment.