This commit is contained in:
Connor Martin 2024-01-24 10:52:29 -08:00
Родитель 43e806e992
Коммит 7705f59e7d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 71BE275D10522550
2 изменённых файлов: 4 добавлений и 23 удалений

23
.github/workflows/main.yml поставляемый
Просмотреть файл

@ -1,25 +1,6 @@
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
puppet-3-8-7:
env:
PUPPET_VERSIONS: "3.8.7"
PUPPET_VERSION: "3.8.7"
RUBOCOP_TEST: false
RSPEC_TEST: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ["2.0", "2.1"]
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}}
- 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
puppet-4-10-10:
env:
PUPPET_VERSIONS: "4.10.10"
@ -30,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.1", "2.2", "2.3"]
ruby-version: ["2.5", "2.6"]
steps:
- name: Checkout code
uses: actions/checkout@v1
@ -49,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.4", "2.5", "2.6"]
ruby-version: ["2.5", "2.6"]
steps:
- name: Checkout code
uses: actions/checkout@v1

Просмотреть файл

@ -31,11 +31,11 @@ EOF
s.add_runtime_dependency 'rugged', '>= 0.25.0b2'
s.add_development_dependency 'rspec', '~> 3.4.0'
s.add_development_dependency 'rake', '12.3.1'
s.add_development_dependency 'rake', '12.3.3'
s.add_development_dependency 'parallel_tests', '2.7.1'
s.add_development_dependency 'rspec-retry', '0.5.0'
s.add_development_dependency 'rubocop', '= 0.48.1'
s.add_development_dependency 'rubocop', '= 0.49.0'
s.add_development_dependency 'simplecov', '~> 0.14.1'
s.add_development_dependency 'simplecov-erb', '~> 0.1.1'