4132656486be34487730d6640dce7cc0a5d48f6d
[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       CI: true
14     runs-on: self-hosted
15     strategy:
16       matrix:
17         ruby_version: [2.5.x]
18         puppet_gem_version: [~> 6.0]
19         platform: [release_checks]
20         agent_family: ['puppet5', 'puppet6']
21
22     steps:
23     - uses: actions/checkout@v1
24     - name: Litmus Parallel
25       uses: puppetlabs/action-litmus_parallel@master
26       with:
27         platform: ${{ matrix.platform }}
28         agent_family: ${{ matrix.agent_family }}
29   Spec:
30     runs-on: self-hosted
31     strategy:
32       matrix:
33         check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
34         ruby_version: [2.5.x]
35         puppet_gem_version: [~> 5.0, ~> 6.0]
36         exclude:
37         - puppet_gem_version: ~> 5.0
38           check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
39         - ruby_version: 2.5.x
40           puppet_gem_version: ~> 5.0
41     steps:
42     - uses: actions/checkout@v1
43     - name: Spec Tests
44       uses: puppetlabs/action-litmus_spec@master
45       with:
46         puppet_gem_version: ${{ matrix.puppet_gem_version }}
47         check: ${{ matrix.check }}