Skip to content

Commit fabd437

Browse files
committed
try fix oracle CI tests
1 parent da64f3c commit fabd437

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,8 +592,13 @@ jobs:
592592
fi
593593
- name: Run Full Unit Tests
594594
run: |
595-
just test-all oracle
596-
595+
if [[ "${{ matrix.django-version }}" == "4.2" ]]; then
596+
echo "ORACLE_DATABASE=XEPDB1" >> $GITHUB_ENV
597+
just test-all cx_oracle
598+
else
599+
echo "ORACLE_DATABASE=FREEPDB1" >> $GITHUB_ENV
600+
just test-all oracledb
601+
fi
597602
- name: Store coverage files
598603
uses: actions/upload-artifact@v5
599604
with:

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ psycopg3 = [
124124
mysql = [
125125
"mysqlclient>=1.4.0",
126126
]
127-
oracle = [
127+
cx_oracle = [
128+
"cx-oracle>=8.3.0",
129+
]
130+
oracledb = [
128131
"oracledb>=2.3.0",
129132
]
130133

uv.lock

Lines changed: 17 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)