зеркало из https://github.com/github/octofacts.git
add 2nd test for old puppet
This commit is contained in:
Родитель
1a1b580c94
Коммит
3a4e369b8f
|
@ -3,7 +3,29 @@ on: [pull_request, workflow_dispatch]
|
|||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
integration:
|
||||
integration-4_10_4:
|
||||
name: Integration Tests (Puppet 4.10.4)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0
|
||||
- name: Install dependencies
|
||||
run: bundle install --jobs 4 --retry 3
|
||||
- name: Run Integration Tests
|
||||
run: |
|
||||
bundle exec rake octofacts:spec:octofacts_integration
|
||||
local_integration_rspec=$?
|
||||
if [ "$local_integration_rspec" -ne 0 ]; then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
environment:
|
||||
RSPEC_PUPPET_VERSION="2.6.15"
|
||||
PUPPET_VERSION="4.10.4"
|
||||
integration-7_30_0:
|
||||
name: Integration Tests (Puppet 7.30.0)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
Загрузка…
Ссылка в новой задаче