Skip to content

Commit

Permalink
Add Ruby 3.4 testing (tumbleweed)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Jan 10, 2025
1 parent 8ce99e4 commit 0dea93c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions bci_tester/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,11 @@ def create_BCI(
build_tag="bci/ruby:2.5", available_versions=["15.6"]
)

RUBY_33_CONTAINER = create_BCI(
build_tag="bci/ruby:3.3", available_versions=["tumbleweed"]
RUBY_34_CONTAINER = create_BCI(
build_tag="bci/ruby:3.4", available_versions=["tumbleweed"]
)

RUBY_CONTAINERS = [RUBY_25_CONTAINER, RUBY_33_CONTAINER]
RUBY_CONTAINERS = [RUBY_25_CONTAINER, RUBY_34_CONTAINER]

_DOTNET_SKIP_ARCH_MARK = pytest.mark.skipif(
LOCALHOST.system_info.arch != "x86_64",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ markers = [
'python_3.6',
'registry_2.8',
'ruby_2.5',
'ruby_3.3',
'ruby_3.4',
'rust_oldstable',
'rust_stable',
'tumbleweed_latest',
Expand Down
6 changes: 2 additions & 4 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@
from bci_tester.data import POSTGRESQL_CONTAINERS
from bci_tester.data import PROMETHEUS_CONTAINERS
from bci_tester.data import PYTHON_CONTAINERS
from bci_tester.data import RUBY_25_CONTAINER
from bci_tester.data import RUBY_33_CONTAINER
from bci_tester.data import RUBY_CONTAINERS
from bci_tester.data import RUST_CONTAINERS
from bci_tester.data import SAC_PYTHON_CONTAINERS
from bci_tester.data import SPACK_CONTAINERS
Expand Down Expand Up @@ -155,8 +154,6 @@ def _get_container_label_prefix(
"openjdk.devel",
ImageType.LANGUAGE_STACK,
),
(RUBY_25_CONTAINER, "ruby", ImageType.LANGUAGE_STACK),
(RUBY_33_CONTAINER, "ruby", ImageType.LANGUAGE_STACK),
(INIT_CONTAINER, "init", ImageType.OS),
(PHP_8_APACHE, "php-apache", ImageType.LANGUAGE_STACK),
(PHP_8_CLI, "php", ImageType.LANGUAGE_STACK),
Expand All @@ -165,6 +162,7 @@ def _get_container_label_prefix(
]
+ [(c, "nodejs", ImageType.LANGUAGE_STACK) for c in NODEJS_CONTAINERS]
+ [(c, "python", ImageType.LANGUAGE_STACK) for c in PYTHON_CONTAINERS]
+ [(c, "ruby", ImageType.LANGUAGE_STACK) for c in RUBY_CONTAINERS]
+ [
(c, "python", ImageType.SAC_LANGUAGE_STACK)
for c in SAC_PYTHON_CONTAINERS
Expand Down

0 comments on commit 0dea93c

Please sign in to comment.