Skip to content

Commit da64f3c

Browse files
committed
try fix oracle tests
1 parent 4841b08 commit da64f3c

File tree

4 files changed

+1091
-928
lines changed

4 files changed

+1091
-928
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ jobs:
486486
actions: write
487487
env:
488488
RDBMS: oracle
489-
COVERAGE_FILE: linux-py${{ matrix.python-version }}-dj${{ matrix.django-version }}-oracle${{ matrix.oracle-version }}.coverage
490489
TEST_PYTHON_VERSION: ${{ matrix.python-version }}
491490
TEST_DJANGO_VERSION: ${{ matrix.django-version }}
492491
TEST_DATABASE_VERSION: ${{ matrix.oracle-version }}
@@ -544,6 +543,10 @@ jobs:
544543
--health-retries 10
545544
546545
steps:
546+
- name: Set coverage file
547+
run: |
548+
ORACLE_TAG=$(echo "${{ matrix.oracle-version }}" | cut -d':' -f2)
549+
echo "COVERAGE_FILE=linux-py${{ matrix.python-version }}-dj${{ matrix.django-version }}-oracle${ORACLE_TAG}.coverage" >> $GITHUB_ENV
547550
- uses: actions/checkout@v6
548551
- name: Set up Python ${{ matrix.python-version }}
549552
id: sp
@@ -614,7 +617,7 @@ jobs:
614617
matrix:
615618
python-version: ['3.10', '3.12', '3.14']
616619
django-version:
617-
- '4.2' # LTS April 2024
620+
- '4.2' # LTS April 2026
618621
- '5.2' # LTS April 2028
619622
- '6.0rc1' # April 2027
620623
exclude:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
---------------------------------------------------------------------------------------------------
1616

17-
[![Postgres](https://img.shields.io/badge/Postgres-9.6%2B-blue)](https://www.postgresql.org/)
18-
[![MySQL](https://img.shields.io/badge/MySQL-5.7%2B-blue)](https://www.mysql.com/)
19-
[![MariaDB](https://img.shields.io/badge/MariaDB-10.2%2B-blue)](https://mariadb.org/)
17+
[![Postgres](https://img.shields.io/badge/Postgres-12%2B-blue)](https://www.postgresql.org/)
18+
[![MySQL](https://img.shields.io/badge/MySQL-8.0%2B-blue)](https://www.mysql.com/)
19+
[![MariaDB](https://img.shields.io/badge/MariaDB-10.4%2B-blue)](https://mariadb.org/)
2020
[![SQLite](https://img.shields.io/badge/SQLite-3.8%2B-blue)](https://www.sqlite.org/)
21-
[![Oracle](https://img.shields.io/badge/Oracle-18%2B-blue)](https://www.oracle.com/database/)
21+
[![Oracle](https://img.shields.io/badge/Oracle-21c%2B-blue)](https://www.oracle.com/database/)
2222

2323
---------------------------------------------------------------------------------------------------
2424

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ mysql = [
125125
"mysqlclient>=1.4.0",
126126
]
127127
oracle = [
128-
"cx-oracle>=8.3.0",
128+
"oracledb>=2.3.0",
129129
]
130130

131131
[tool.mypy]

0 commit comments

Comments
 (0)