This commit is contained in:
Jason Hong-Turney 2024-08-13 16:16:59 +00:00
Родитель 1a1b580c94
Коммит 3a4e369b8f
1 изменённых файлов: 23 добавлений и 1 удалений

24
.github/workflows/integration-test.yml поставляемый
Просмотреть файл

@ -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