Skip to content

Commit 4a3c5ca

Browse files
committed
modulesync 4.2.0
1 parent e77eff6 commit 4a3c5ca

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ By participating in this project you agree to abide by its terms.
2525

2626
* Fork the repo.
2727
* Create a separate branch for your change.
28-
* We only take pull requests with passing tests, and documentation. GitHub Actions run the tests for us (check the .github/workflows/ directory). You can also execute them locally. This is explained [in a later section](#the-test-matrix).
28+
* We only take pull requests with passing tests, and documentation. [GitHub Actions](https://docs.github.com/en/actions) run the tests for us. You can also execute them locally. This is explained [in a later section](#the-test-matrix).
2929
* Checkout [our docs](https://voxpupuli.org/docs/reviewing_pr/) we use to review a module and the [official styleguide](https://puppet.com/docs/puppet/6.0/style_guide.html). They provide some guidance for new code that might help you before you submit a pull request.
3030
* Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, please add a test.
3131
* Squash your commits down into logical components. Make sure to rebase against our current master.

.github/workflows/ci.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ name: CI
66

77
on: pull_request
88

9+
concurrency:
10+
group: ${{ github.head_ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
setup_matrix:
1115
name: 'Setup Test Matrix'
1216
runs-on: ubuntu-latest
1317
timeout-minutes: 40
1418
outputs:
15-
beaker_setfiles: ${{ steps.get-outputs.outputs.beaker_setfiles }}
16-
puppet_major_versions: ${{ steps.get-outputs.outputs.puppet_major_versions }}
1719
puppet_unit_test_matrix: ${{ steps.get-outputs.outputs.puppet_unit_test_matrix }}
20+
github_action_test_matrix: ${{ steps.get-outputs.outputs.github_action_test_matrix }}
1821
env:
1922
BUNDLE_WITHOUT: development:system_tests:release
2023
steps:
@@ -62,8 +65,7 @@ jobs:
6265
strategy:
6366
fail-fast: false
6467
matrix:
65-
setfile: ${{fromJson(needs.setup_matrix.outputs.beaker_setfiles)}}
66-
puppet: ${{fromJson(needs.setup_matrix.outputs.puppet_major_versions)}}
68+
include: ${{fromJson(needs.setup_matrix.outputs.github_action_test_matrix)}}
6769
name: ${{ matrix.puppet.name }} - ${{ matrix.setfile.name }}
6870
steps:
6971
- uses: actions/checkout@v2
@@ -77,3 +79,12 @@ jobs:
7779
env:
7880
BEAKER_PUPPET_COLLECTION: ${{ matrix.puppet.collection }}
7981
BEAKER_setfile: ${{ matrix.setfile.value }}
82+
83+
tests:
84+
needs:
85+
- unit
86+
- acceptance
87+
runs-on: ubuntu-latest
88+
name: Test suite
89+
steps:
90+
- run: echo Test suite completed

.msync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Managed by modulesync - DO NOT EDIT
33
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
44

5-
modulesync_config_version: '4.1.0'
5+
modulesync_config_version: '4.2.0'

Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
source ENV['GEM_SOURCE'] || "https://rubygems.org"
55

66
group :test do
7-
gem 'voxpupuli-test', '~> 2.1', :require => false
8-
gem 'coveralls', :require => false
9-
gem 'simplecov-console', :require => false
10-
gem 'puppet_metadata', '~> 0.3.0', :require => false
7+
gem 'voxpupuli-test', '~> 2.5', :require => false
8+
gem 'coveralls', :require => false
9+
gem 'simplecov-console', :require => false
10+
gem 'puppet_metadata', '~> 1.0', :require => false
1111
end
1212

1313
group :development do
@@ -20,7 +20,7 @@ group :system_tests do
2020
end
2121

2222
group :release do
23-
gem 'github_changelog_generator', '>= 1.16.1', :require => false
23+
gem 'github_changelog_generator', '>= 1.16.1', :require => false if RUBY_VERSION >= '2.5'
2424
gem 'voxpupuli-release', '>= 1.0.2', :require => false
2525
gem 'puppet-strings', '>= 2.2', :require => false
2626
end

0 commit comments

Comments
 (0)