Skip to content

Commit a60ef59

Browse files
yahondaclaude
andcommitted
Add jruby-10.0.5.0 to test_11g matrix with Oracle JDK 21
Add jruby-10.0.5.0 to the test_11g workflow matrix so the JDBC code path is exercised against Oracle 11g XE. Set up Oracle JDK 21 explicitly via actions/setup-java for JRuby matrix entries (scoped via `if: startsWith(matrix.ruby, 'jruby')`), and gate the Install JDBC Driver step on the same condition so MRI matrix entries skip the unused Oracle download. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent edc3c6e commit a60ef59

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/test_11g.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
1313

1414
runs-on: ubuntu-latest
15-
continue-on-error: true
15+
continue-on-error: false
1616
strategy:
1717
matrix:
1818
ruby: [
1919
'4.0',
2020
'3.4',
2121
'3.3',
22-
'3.2'
22+
'3.2',
23+
'jruby-10.0.5.0',
2324
]
2425
env:
2526
ORACLE_HOME: /opt/oracle/instantclient_21_15
@@ -46,6 +47,12 @@ jobs:
4647
4748
steps:
4849
- uses: actions/checkout@v6
50+
- name: Set up Java
51+
if: startsWith(matrix.ruby, 'jruby')
52+
uses: actions/setup-java@v4
53+
with:
54+
distribution: oracle
55+
java-version: '21'
4956
- name: Set up Ruby
5057
uses: ruby/setup-ruby@v1
5158
with:
@@ -66,6 +73,7 @@ jobs:
6673
sudo unzip -qo instantclient-sdk-linux.x64-21.15.0.0.0dbru.zip -d /opt/oracle
6774
echo "/opt/oracle/instantclient_21_15" >> $GITHUB_PATH
6875
- name: Install JDBC Driver
76+
if: startsWith(matrix.ruby, 'jruby')
6977
run: |
7078
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/23261/ojdbc17.jar -O ./lib/ojdbc17.jar
7179
- name: Configure ORA_TZFILE to match Oracle 11g server

0 commit comments

Comments
 (0)