File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,31 +11,6 @@ permissions:
1111 contents : read
1212
1313jobs :
14- setup_matrix :
15- name : ' Setup Test Matrix'
16- runs-on : ubuntu-latest
17- permissions :
18- contents : read
19- outputs :
20- matrix : ${{ steps.get-matrix.outputs.matrix }}
21- steps :
22- - name : Checkout Source
23- uses : actions/checkout@v4
24- - name : Activate Ruby 2.7
25- uses : ruby/setup-ruby@v1
26- with :
27- ruby-version : " 2.7"
28- bundler-cache : true
29- - name : Print bundle environment
30- run : |
31- echo ::group::bundler environment
32- bundle env
33- echo ::endgroup::
34- - name : Setup Acceptance Test Matrix
35- id : get-matrix
36- run : |
37- bundle exec matrix_from_metadata_v2
38-
3914 unit :
4015 name : ' Unit tests'
4116 runs-on : ubuntu-latest
7954 - name : Run static validations
8055 run : |
8156 bundle exec rake check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint
82-
83- acceptance :
84- name : ' Acceptance tests'
85- needs : setup_matrix
86- if : ${{ needs.setup_matrix.outputs.matrix != '{}' }}
87- runs-on : ubuntu-latest
88- permissions :
89- contents : read
90- strategy :
91- fail-fast : false
92- matrix : ${{ fromJson(needs.setup_matrix.outputs.matrix) }}
93- env :
94- BUNDLE_WITHOUT : development:release
95- steps :
96- - name : Checkout Source
97- uses : actions/checkout@v4
98- - name : Setup Ruby
99- uses : ruby/setup-ruby@v1
100- with :
101- ruby-version : " 2.7"
102- bundler-cache : true
103- - name : Run acceptance tests
104- run : |
105- bundle exec rake beaker
106- env :
107- BEAKER_PUPPET_COLLECTION : ${{ matrix.puppet_collection }}
108- BEAKER_setfile : ${{ matrix.setfile }}
File renamed without changes.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments