3be2e0523ae86ce89b785a66b81fc2a7bc3d0504
[puppet-modules/puppetlabs-apt.git] / .github / workflows / weekly.yml
1 name: "weekly"
2
3 on:
4   schedule:
5     - cron: '0 0 * * 6'
6
7 jobs:
8   LitmusAcceptance:
9     runs-on: self-hosted
10     strategy:
11       matrix:
12         ruby_version: [2.5.x]
13         puppet_gem_version: [~> 6.0]
14         platform: [release_checks]
15         agent_family: ['puppet5', 'puppet6']
16
17     steps:
18     - uses: actions/checkout@v1
19     - name: Litmus Parallel
20       uses: puppetlabs/action-litmus_parallel@master
21       with:
22         platform: ${{ matrix.platform }}
23         agent_family: ${{ matrix.agent_family }}
24   Spec:
25     runs-on: self-hosted
26     strategy:
27       matrix:
28         check: [spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
29         ruby_version: [2.5.x]
30         puppet_gem_version: [~> 5.0, ~> 6.0]
31         exclude:
32         - puppet_gem_version: ~> 5.0
33           check: '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
36     steps:
37     - uses: actions/checkout@v1
38     - name: Spec Tests
39       uses: puppetlabs/action-litmus_spec@master
40       with:
41         puppet_gem_version: ${{ matrix.puppet_gem_version }}
42         check: ${{ matrix.check }}