Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
RSPEC_TEST: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["2.0", "2.1"]
steps:
Expand All @@ -27,6 +28,7 @@ jobs:
RSPEC_TEST: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["2.1", "2.2", "2.3"]
steps:
Expand All @@ -45,6 +47,7 @@ jobs:
RSPEC_TEST: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["2.4", "2.5", "2.6"]
steps:
Expand All @@ -63,6 +66,7 @@ jobs:
RSPEC_TEST: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["2.5", "2.6"]
steps:
Expand All @@ -78,3 +82,24 @@ jobs:
env:
RUBOCOP_TEST: true
ENFORCE_COVERAGE: true

puppet-7-3-0:
env:
PUPPET_VERSIONS: "7.3.0"
PUPPET_VERSION: "7.3.0"
RUBOCOP_TEST: false
RSPEC_TEST: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 2.7 and 3.0 fail at the moment
# ruby-version: ["2.5", "2.6", "2.7", "3.0"]
ruby-version: ["2.5", "2.6"]
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build container
run: docker build . --file Dockerfile --tag octocatalog-diff:ruby${{matrix.ruby-version}} --build-arg RUBY_VERSION=${{matrix.ruby-version}}-buster
- name: Tests
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
11 changes: 7 additions & 4 deletions config/puppet-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@
{
"minimum_version": "5.0.0",
"maximum_version": "5.99.99",
"additional_gems": [
]
"additional_gems": []
},
{
"minimum_version": "6.0.0",
"maximum_version": "6.99.99",
"additional_gems": [
]
"additional_gems": []
},
{
"minimum_version": "7.0.0",
"maximum_version": "7.99.99",
"additional_gems": []
}
]
Binary file added vendor/cache/puppet-7.3.0.gem
Binary file not shown.
Binary file added vendor/cache/scanf-1.0.0.gem
Binary file not shown.