0311717bb32113cb422da5d9633ed89d12d78ca4
[puppet-modules/puppetlabs-apt.git] / .github / workflows / release.yml
1 name: "release"
2
3 on: 
4   push:
5     branches:
6       - 'release'
7
8 jobs:
9   LitmusAcceptance:
10     env:
11       HONEYCOMB_WRITEKEY: 7f3c63a70eecc61d635917de46bea4e6
12       HONEYCOMB_DATASET: litmus tests
13     runs-on: self-hosted
14     strategy:
15       matrix:
16         ruby_version: [2.5.x]
17         puppet_gem_version: [~> 6.0]
18         platform: [release_checks]
19         agent_family: ['puppet5', 'puppet6']
20
21     steps:
22     - uses: actions/checkout@v1
23     - name: Litmus Parallel
24       uses: puppetlabs/action-litmus_parallel@master
25       with:
26         platform: ${{ matrix.platform }}
27         agent_family: ${{ matrix.agent_family }}
28   Spec:
29     runs-on: self-hosted
30     strategy:
31       matrix:
32         check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
33         ruby_version: [2.5.x]
34         puppet_gem_version: [~> 5.0, ~> 6.0]
35         exclude:
36         - puppet_gem_version: ~> 5.0
37           check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
38         - ruby_version: 2.5.x
39           puppet_gem_version: ~> 5.0
40     steps:
41     - uses: actions/checkout@v1
42     - name: Spec Tests
43       uses: puppetlabs/action-litmus_spec@master
44       with:
45         puppet_gem_version: ${{ matrix.puppet_gem_version }}
46         check: ${{ matrix.check }}