Skip to content

Commit 60f69d5

Browse files
Merge pull request puppetlabs#1127 from puppetlabs/pdksync_github_actions
pdksync - FM-8834 - Add GitHub action workflow
2 parents 42a838b + 0c0e373 commit 60f69d5

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "release"
2+
3+
on:
4+
push:
5+
branches:
6+
- 'release'
7+
8+
jobs:
9+
LitmusAcceptance:
10+
runs-on: self-hosted
11+
strategy:
12+
matrix:
13+
ruby_version: [2.5.x]
14+
puppet_gem_version: [~> 6.0]
15+
platform: [release_checks]
16+
agent_family: ['puppet5', 'puppet6']
17+
18+
steps:
19+
- uses: actions/checkout@v1
20+
- name: Litmus Parallel
21+
uses: puppetlabs/action-litmus_parallel@master
22+
with:
23+
platform: ${{ matrix.platform }}
24+
agent_family: ${{ matrix.agent_family }}
25+
Spec:
26+
runs-on: self-hosted
27+
strategy:
28+
matrix:
29+
check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
30+
ruby_version: [2.5.x]
31+
puppet_gem_version: [~> 5.0, ~> 6.0]
32+
exclude:
33+
- puppet_gem_version: ~> 5.0
34+
check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
35+
- ruby_version: 2.5.x
36+
puppet_gem_version: ~> 5.0
37+
steps:
38+
- uses: actions/checkout@v1
39+
- name: Spec Tests
40+
uses: puppetlabs/action-litmus_spec@master
41+
with:
42+
puppet_gem_version: ${{ matrix.puppet_gem_version }}
43+
check: ${{ matrix.check }}

0 commit comments

Comments
 (0)