Skip to content

Commit

Permalink
Merge pull request puppetlabs#1983 from puppetlabs/release
Browse files Browse the repository at this point in the history
Add Github Actions release workflow
  • Loading branch information
sheenaajay authored Dec 10, 2019
2 parents 0c93610 + d3990f5 commit 4f1d9c8
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "release"

on:
push:
branches:
- 'release'

jobs:
LitmusAcceptance:

runs-on: self-hosted

strategy:
matrix:
ruby_version: [2.5.x]
puppet_gem_version: [~> 6.0]
platform: [release_checks]
agent_family: ['puppet5', 'puppet6']

steps:
- uses: actions/checkout@v1

- name: Litmus Parallel
uses: puppetlabs/action-litmus_parallel@master
with:
platform: ${{ matrix.platform }}
agent_family: ${{ matrix.agent_family }}

Spec:
runs-on: self-hosted

strategy:
matrix:
check: [parallel_spec, 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop']
ruby_version: [2.4.x, 2.5.x]
puppet_gem_version: [~> 5.0, ~> 6.0]
exclude:
- puppet_gem_version: ~> 5.0
check: 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop'
- ruby_version: 2.4.x
puppet_gem_version: ~> 6.0
- ruby_version: 2.5.x
puppet_gem_version: ~> 5.0

steps:
- uses: actions/checkout@v1

- name: Spec Tests
uses: puppetlabs/action-litmus_spec@master
with:
puppet_gem_versionm: ${{ matrix.puppet_gem_version }}
check: ${{ matrix.check }}

0 comments on commit 4f1d9c8

Please sign in to comment.