Skip to content

Commit 114e4f3

Browse files
author
Daniel Carabas
committed
Add Github Actions release workflow
1 parent 1d34b67 commit 114e4f3

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)