Update weekly workflow schedule
[puppet-modules/puppetlabs-apt.git] / .github / workflows / weekly.yml
1 name: "weekly"
2
3 on:
4   schedule:
5     - cron: '0 6 * * 1'
6
7 jobs:
8   LitmusAcceptance:
9     env:
10       HONEYCOMB_WRITEKEY: 7f3c63a70eecc61d635917de46bea4e6
11       HONEYCOMB_DATASET: litmus tests
12     runs-on: self-hosted
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     - name: Litmus Parallel
23       uses: puppetlabs/action-litmus_parallel@master
24       with:
25         platform: ${{ matrix.platform }}
26         agent_family: ${{ matrix.agent_family }}
27   Spec:
28     runs-on: self-hosted
29     strategy:
30       matrix:
31         check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
32         ruby_version: [2.5.x]
33         puppet_gem_version: [~> 5.0, ~> 6.0]
34         exclude:
35         - puppet_gem_version: ~> 5.0
36           check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
37         - ruby_version: 2.5.x
38           puppet_gem_version: ~> 5.0
39     steps:
40     - uses: actions/checkout@v1
41     - name: Spec Tests
42       uses: puppetlabs/action-litmus_spec@master
43       with:
44         puppet_gem_version: ${{ matrix.puppet_gem_version }}
45         check: ${{ matrix.check }}