Skip to content

Commit

Permalink
(maint) - Re-add acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Sep 27, 2023
1 parent 4515c9d commit c6aa517
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@ jobs:
runs_on: ${{ matrix.runs_on }}
rake_task: 'gem_revendor test_languageserver test_languageserver_sidecar test_debugserver'

acceptance:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.7'
- '3.2'
runs_on:
- 'ubuntu-latest'
- 'windows-latest'

name: "Acceptance : ${{ matrix.runs_on }} Ruby ${{ matrix.ruby_version }}"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
runs_on: ${{ matrix.runs_on }}
rake_task: 'gem_revendor acceptance_languageserver'
puppet_version: '~> 7.24'

build:
strategy:
fail-fast: false
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@ jobs:
ruby_version: ${{ matrix.ruby_version }}
runs_on: ${{ matrix.runs_on }}
rake_task: 'gem_revendor test_languageserver test_languageserver_sidecar test_debugserver'

acceptance:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.7'
- '3.2'
include:
- ruby_version: '2.7'
puppet_version: '~> 7.0'
- ruby_version: '3.2'
puppet_version: '~> 8.0'
runs_on:
- 'ubuntu-latest'
- 'windows-latest'

name: "Acceptance : ${{ matrix.runs_on }} Ruby ${{ matrix.ruby_version }}"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
runs_on: ${{ matrix.runs_on }}
rake_task: 'gem_revendor acceptance_languageserver'
puppet_version: ${{ matrix.puppet_version }}

build:
strategy:
Expand Down

0 comments on commit c6aa517

Please sign in to comment.