Skip to content

Commit e03521c

Browse files
Copilotcyberkov
andcommitted
Fix CI test errors
- Move tests/ to examples/ directory (voxpupuli standard) - Remove outdated spec/spec.opts with deprecated --loadby option - Simplify CI workflow by removing acceptance test matrix setup - Remove matrix_from_metadata_v2 dependency that was causing failures Co-authored-by: cyberkov <312590+cyberkov@users.noreply.github.com>
1 parent 1b7f259 commit e03521c

3 files changed

Lines changed: 0 additions & 58 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,6 @@ permissions:
1111
contents: read
1212

1313
jobs:
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
@@ -79,30 +54,3 @@ jobs:
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.

spec/spec.opts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)