Skip to content

Commit

Permalink
test: limit test of python versions to RHEL8
Browse files Browse the repository at this point in the history
  • Loading branch information
teluq-pbrideau committed Jul 11, 2024
1 parent 21c2699 commit 3c0434c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/apache/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
)
end

if ['RedHat'].include?(facts[:os]['family'])
if ['RedHat'].include?(facts[:os]['family']) && facts[:os]['release']['major'] == '8'
['3.6', '3.8', '3.9'].each do |python_version|
context "with python_versions #{python_version}" do
let(:pre_condition) do
Expand Down

0 comments on commit 3c0434c

Please sign in to comment.