Skip to content

Commit 3a4e369

Browse files
committed
add 2nd test for old puppet
1 parent 1a1b580 commit 3a4e369

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/integration-test.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,29 @@ on: [pull_request, workflow_dispatch]
33
permissions:
44
contents: read
55
jobs:
6-
integration:
6+
integration-4_10_4:
7+
name: Integration Tests (Puppet 4.10.4)
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up Ruby
12+
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0
13+
- name: Install dependencies
14+
run: bundle install --jobs 4 --retry 3
15+
- name: Run Integration Tests
16+
run: |
17+
bundle exec rake octofacts:spec:octofacts_integration
18+
local_integration_rspec=$?
19+
if [ "$local_integration_rspec" -ne 0 ]; then
20+
exit 1
21+
else
22+
exit 0
23+
fi
24+
environment:
25+
RSPEC_PUPPET_VERSION="2.6.15"
26+
PUPPET_VERSION="4.10.4"
27+
integration-7_30_0:
28+
name: Integration Tests (Puppet 7.30.0)
729
runs-on: ubuntu-latest
830
steps:
931
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)