updating few package #167
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Unit | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| # Items marked as allow_failure=true are allowed to fail | |
| # This is fixtures using latest untagged versions | |
| continue-on-error: ${{ matrix.allow_failure }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - ruby: 3.1.4 | |
| puppet: 6 | |
| fixtures: .fixtures.yml | |
| allow_failure: false | |
| - ruby: 3.1.4 | |
| puppet: 7 | |
| fixtures: .fixtures.yml | |
| allow_failure: false | |
| - ruby: 3.1.4 | |
| puppet: 8 | |
| fixtures: .fixtures.yml | |
| allow_failure: false | |
| env: | |
| BUNDLE_WITHOUT: system_tests:development | |
| PUPPET_GEM_VERSION: "~> ${{ matrix.puppet }}.0" | |
| FIXTURES_YML: ${{ matrix.fixtures }} | |
| name: Puppet ${{ matrix.puppet }} (Ruby ${{ matrix.ruby }} fixtures=${{ matrix.fixtures }}) | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| bundler: '2.4.10' | |
| - name: Validate | |
| run: bundle exec rake sensu_validate lint reference | |
| - name: Run tests | |
| run: bundle exec rake spec |