Skip to content

Commit 3dcd447

Browse files
authored
ci: Update the name of ruby matrix to be consistent with other repos (#153)
1 parent 02dfeb4 commit 3dcd447

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

.github/workflows/conformance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
ruby-version: ["2.6", "2.7", "3.0", "3.1", "3.2"]
15+
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"]
1616
steps:
1717
- name: Harden Runner
1818
uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Ruby
3030
uses: ruby/setup-ruby@4d060a10e6d98429c69057f0aafbc65fb982bae8 # v1.137.0
3131
with:
32-
ruby-version: ${{ matrix.ruby-version }}
32+
ruby-version: ${{ matrix.ruby }}
3333
bundler-cache: true
3434
- name: Run HTTP conformance tests
3535
uses: GoogleCloudPlatform/functions-framework-conformance/action@c52662e612b2685a027b1c3e02224306517722fc # v1.6.0

.github/workflows/unit.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,10 @@ jobs:
1515
if: ${{ github.repository == 'GoogleCloudPlatform/functions-framework-ruby' }}
1616
strategy:
1717
matrix:
18+
os: [ubuntu-latest]
19+
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"]
20+
flags: ["--only --test-unit"]
1821
include:
19-
- os: ubuntu-latest
20-
ruby: "2.6"
21-
flags: "--only --test-unit"
22-
- os: ubuntu-latest
23-
ruby: "2.7"
24-
flags: "--only --test-unit"
25-
- os: ubuntu-latest
26-
ruby: "3.0"
27-
flags: "--only --test-unit"
28-
- os: ubuntu-latest
29-
ruby: "3.1"
30-
flags: "--only --test-unit"
3122
- os: ubuntu-latest
3223
ruby: jruby
3324
flags: "--only --test-unit"
@@ -43,9 +34,6 @@ jobs:
4334
- os: ubuntu-latest
4435
ruby: "3.0"
4536
flags: "--only --test-yardoc --test-build --test-examples"
46-
- os: ubuntu-latest
47-
ruby: "3.2"
48-
flags: "--only --test-unit"
4937
fail-fast: false
5038
runs-on: ${{ matrix.os }}
5139
steps:

0 commit comments

Comments
 (0)