Skip to content

Commit

Permalink
fix lint CI, try fix oracle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Jan 28, 2025
1 parent 6bd7864 commit 74aff90
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,13 @@ jobs:
strategy:
matrix:
# run static analysis on bleeding and trailing edges
python-version: [ '3.8', '3.10', '3.12' ]
python-version: [ '3.9', '3.12' ]
django-version:
- '3.2' # LTS April 2024
- '4.2' # LTS April 2026
- '5.1' # December 2025
exclude:
- python-version: '3.8'
- python-version: '3.9'
django-version: '5.1'
- python-version: '3.10'
django-version: '5.1'
- python-version: '3.12'
django-version: '3.2'
- python-version: '3.10'
django-version: '3.2'
- python-version: '3.8'
django-version: '4.2'
- python-version: '3.12'
django-version: '4.2'

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
workflow_dispatch:
inputs:
debug:
description: 'Set to on, to open ssh debug session.'
description: 'Open ssh debug session.'
required: true
default: 'off'
default: false
type: boolean
schedule:
- cron: '0 13 * * *' # Runs at 6 am pacific every day

Expand Down Expand Up @@ -509,8 +510,8 @@ jobs:
timeout-minutes: 60
- name: Install Oracle Client
run: |
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
sudo apt install alien libaio1
curl --output oracle-client.rpm https://download.oracle.com/otn_software/linux/instantclient/2116000/oracle-instantclient-basiclite-21.16.0.0.0-1.el8.x86_64.rpm
sudo apt install alien
sudo alien -i oracle-client.rpm
sudo sh -c 'echo /usr/lib/oracle/21/client64/lib/ > /etc/ld.so.conf.d/oracle.conf'
sudo ldconfig
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ numpy = [
{version = ">=1.25", markers = "python_version >= '3.9'"}
]
django-stubs = {extras = ["compatible-mypy"], version = ">=4.2.7"}
django-stubs = [
{version = "<1.25", markers = "python_version < '3.9'"},
{version = ">=1.25", markers = "python_version >= '3.9'"}
]
furo = "^2024.8.6"
ruff = "^0.6.3"
typing-extensions = "^4.12.2"
Expand Down

0 comments on commit 74aff90

Please sign in to comment.