-
Notifications
You must be signed in to change notification settings - Fork 6
47 lines (47 loc) · 1.43 KB
/
integration-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Integration Tests
on: [pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
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@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.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
- name: Set up Ruby
uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.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="3.0.0"
PUPPET_VERSION="7.30.0"