Skip to content

Commit

Permalink
Merge pull request #493 from voxpupuli/non-stream-20
Browse files Browse the repository at this point in the history
Test NodeJS 20 on all ELs
  • Loading branch information
bastelfreak authored Jan 3, 2024
2 parents d42fbb1 + bb09144 commit af44463
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ class { 'nodejs':
end
end

context 'RedHat with repo_class => nodejs::repo::dnfmodule', if: fact('os.family') == 'RedHat' && %w[8 9].include?(fact('os.release.major')), skip: ((nodejs_version == '20' && fact('os.name') != 'CentOS') || (nodejs_version == '16' && fact('os.release.major') == '9') ? 'NodeJS 20 is not yet in a released EL, NodeJS 16 is not available on EL9' : nil) do
# Node 20 is only available in Stream yet, not in a released EL
context 'RedHat with repo_class => nodejs::repo::dnfmodule', if: fact('os.family') == 'RedHat' && %w[8 9].include?(fact('os.release.major')), skip: (nodejs_version == '16' && fact('os.release.major') == '9' ? 'NodeJS 16 is not available on EL9' : nil) do
# Node 16 is not available on EL9

include_examples 'cleanup'
Expand Down

0 comments on commit af44463

Please sign in to comment.