Skip to content

Commit 40cc736

Browse files
committed
Update the Github CI workflow to include Puppet 6 testing
1 parent bbad4fc commit 40cc736

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,24 @@ jobs:
5454
run: docker build . --file Dockerfile --tag octocatalog-diff:ruby${{matrix.ruby-version}} --build-arg RUBY_VERSION=${{matrix.ruby-version}}-stretch
5555
- name: Tests
5656
run: docker run -e PUPPET_VERSION -e PUPPET_VERSIONS -e RSPEC_TEST -e RUBOCOP_TEST -e ENFORCE_COVERAGE octocatalog-diff:ruby${{matrix.ruby-version}} /app/script/cibuild
57+
58+
puppet-6-18-0:
59+
env:
60+
PUPPET_VERSIONS: "6.18.0"
61+
PUPPET_VERSION: "6.18.0"
62+
RUBOCOP_TEST: false
63+
RSPEC_TEST: true
64+
runs-on: ubuntu-latest
65+
strategy:
66+
matrix:
67+
ruby-version: ["2.5", "2.6"]
68+
steps:
69+
- name: Checkout code
70+
uses: actions/checkout@v1
71+
- name: Build container
72+
run: docker build . --file Dockerfile --tag octocatalog-diff:ruby${{matrix.ruby-version}} --build-arg RUBY_VERSION=${{matrix.ruby-version}}-stretch
73+
- name: Tests
74+
run: docker run -e PUPPET_VERSION -e PUPPET_VERSIONS -e RSPEC_TEST -e RUBOCOP_TEST -e ENFORCE_COVERAGE octocatalog-diff:ruby${{matrix.ruby-version}} /app/script/cibuild
5775
- name: Rubocop and Coverage
5876
run: docker run -e PUPPET_VERSION -e PUPPET_VERSIONS -e RSPEC_TEST -e RUBOCOP_TEST -e ENFORCE_COVERAGE octocatalog-diff:ruby${{matrix.ruby-version}} /app/script/cibuild
5977
if: matrix.ruby-version == '2.6'

0 commit comments

Comments
 (0)