Skip to content

Commit 04a8f9b

Browse files
committed
try fix oracle CI tetss
1 parent fabd437 commit 04a8f9b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,13 @@ jobs:
547547
run: |
548548
ORACLE_TAG=$(echo "${{ matrix.oracle-version }}" | cut -d':' -f2)
549549
echo "COVERAGE_FILE=linux-py${{ matrix.python-version }}-dj${{ matrix.django-version }}-oracle${ORACLE_TAG}.coverage" >> $GITHUB_ENV
550+
if [[ "${{ matrix.django-version }}" == "4.2" ]]; then
551+
echo "ORACLE_DATABASE=XEPDB1" >> $GITHUB_ENV
552+
just test-all cx_oracle
553+
else
554+
echo "ORACLE_DATABASE=FREEPDB1" >> $GITHUB_ENV
555+
just test-all oracledb
556+
fi
550557
- uses: actions/checkout@v6
551558
- name: Set up Python ${{ matrix.python-version }}
552559
id: sp
@@ -593,10 +600,8 @@ jobs:
593600
- name: Run Full Unit Tests
594601
run: |
595602
if [[ "${{ matrix.django-version }}" == "4.2" ]]; then
596-
echo "ORACLE_DATABASE=XEPDB1" >> $GITHUB_ENV
597603
just test-all cx_oracle
598604
else
599-
echo "ORACLE_DATABASE=FREEPDB1" >> $GITHUB_ENV
600605
just test-all oracledb
601606
fi
602607
- name: Store coverage files

0 commit comments

Comments
 (0)