-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Reduce matrix size for faster CI runs
- Remove warnings by specifying ubuntu-22.04 instead of ubuntu-latest. - Remove JRuby tests entirely. - Remove macOS tests entirely. - Remove Ruby tests on ubuntu 20 and 24 for now. Signed-off-by: Austin Ziegler <[email protected]>
- Loading branch information
1 parent
2402e2c
commit 9103a6d
Showing
6 changed files
with
11 additions
and
101 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ permissions: | |
jobs: | ||
check-dco: | ||
name: Check DCO | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ permissions: | |
jobs: | ||
lint: | ||
name: Ruby Lint | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -42,9 +42,7 @@ jobs: | |
- rack_2 | ||
- rack_3 | ||
os: | ||
- ubuntu-20.04 | ||
- ubuntu-22.04 | ||
- ubuntu-24.04 | ||
ruby: | ||
- '2.7' | ||
- '3.0' | ||
|
@@ -78,52 +76,6 @@ jobs: | |
bundle exec bin/app-identity-suite-ruby run --stdin --strict | ||
working-directory: ./ruby | ||
required-macos: | ||
name: Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }} - ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gemfile: | ||
- rack_1 | ||
- rack_2 | ||
- rack_3 | ||
os: | ||
- macos-13 | ||
- macos-14 | ||
- macos-15 | ||
ruby: | ||
- '2.7' | ||
- '3.0' | ||
- '3.1' | ||
- '3.2' | ||
- '3.3' | ||
- '3.4' | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/ruby/gemfiles/${{ matrix.gemfile }}.gemfile | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- uses: ruby/[email protected] | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
working-directory: ./ruby | ||
|
||
- run: bundle exec ruby -S rake test --trace | ||
working-directory: ./ruby | ||
|
||
- run: > | ||
bundle exec bin/app-identity-suite-ruby generate --stdout | | ||
bundle exec bin/app-identity-suite-ruby run --stdin --strict | ||
working-directory: ./ruby | ||
ruby-head-optional: | ||
name: Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }} - ${{ matrix.os }} (optional) | ||
|
||
|
@@ -137,49 +89,7 @@ jobs: | |
ruby: | ||
- head | ||
os: | ||
- macos-latest | ||
- ubuntu-latest | ||
|
||
continue-on-error: true | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/ruby/gemfiles/${{ matrix.gemfile }}.gemfile | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- uses: ruby/[email protected] | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
working-directory: ./ruby | ||
|
||
- run: bundle exec ruby -S rake test --trace | ||
working-directory: ./ruby | ||
|
||
- run: > | ||
bundle exec bin/app-identity-suite-ruby generate --stdout | | ||
bundle exec bin/app-identity-suite-ruby run --stdin --strict | ||
working-directory: ./ruby | ||
jruby-optional: | ||
name: Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }} - ${{ matrix.os }} (optional) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gemfile: | ||
- rack_1 | ||
- rack_2 | ||
- rack_3 | ||
ruby: | ||
- jruby | ||
- jruby-head | ||
os: | ||
- ubuntu-latest | ||
- ubuntu-22.04 | ||
|
||
continue-on-error: true | ||
runs-on: ${{ matrix.os }} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
fail-fast: true | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- ubuntu-22.04 | ||
node: | ||
- 20 | ||
- 22 | ||
|
This file contains 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