Skip to content

Commit aa5648e

Browse files
committed
upgrade oracle CI db, fix errant test models checkin
1 parent 660cf87 commit aa5648e

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ jobs:
364364
services:
365365
oracle:
366366

367-
image: gvenzl/oracle-free:latest
367+
image: gvenzl/oracle-xe:latest
368368

369369
env:
370370
ORACLE_PASSWORD: password
@@ -394,7 +394,7 @@ jobs:
394394
virtualenvs-in-project: true
395395
- name: Install Oracle Client
396396
run: |
397-
curl --output oracle-client.rpm https://download.oracle.com/otn_software/linux/instantclient/219000/oracle-instantclient-basiclite-21.9.0.0.0-1.el8.x86_64.rpm
397+
curl --output oracle-client.rpm https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm
398398
sudo apt install alien libaio1
399399
sudo alien -i oracle-client.rpm
400400
sudo sh -c 'echo /usr/lib/oracle/21/client64/lib/ > /etc/ld.so.conf.d/oracle.conf'
Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +0,0 @@
1-
from django.db import models
2-
from django_enum import EnumField, TextChoices
3-
from enum_properties import s
4-
5-
6-
class MigrationTester(models.Model):
7-
8-
class IntEnum(models.IntegerChoices):
9-
ONE = 0, 'One'
10-
TWO = 1, 'Two',
11-
THREE = 2, 'Three'
12-
13-
class Color(TextChoices, s('rgb'), s('hex', case_fold=True)):
14-
15-
RED = 'R', 'Red', (1, 0, 0), 'ff0000'
16-
GREEN = 'G', 'Green', (0, 1, 0), '00ff00'
17-
BLUE = 'B', 'Blue', (0, 0, 1), '0000ff'
18-
BLACK = 'K', 'Black', (0, 0, 0), '000000'
19-
20-
int_enum = EnumField(IntEnum)
21-
color = EnumField(Color)

0 commit comments

Comments
 (0)