Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci update
  • Loading branch information
jeffreyaven committed Jun 5, 2025
commit 81d8e0ee3e4b64166c31cd36d7356a68e2e26d11
11 changes: 4 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ jobs:
strategy:
matrix:
os:
# - ubuntu-latest
# - windows-latest
- ubuntu-latest
- windows-latest
- macos-latest
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
# exclude:
# - os: macos-latest
# python-version: "3.13"
runs-on: ${{matrix.os}}
name: '${{matrix.os}} Python ${{matrix.python-version}}'

Expand Down Expand Up @@ -93,15 +90,15 @@ jobs:
if: matrix.os != 'windows-latest'
shell: bash
run: |
nohup /tmp/stackql -v --pgsrv.port=5444 srv &
nohup /tmp/stackql -v --pgsrv.port=5466 srv &
sleep 5

- name: Start StackQL server (Windows)
if: matrix.os == 'windows-latest'
shell: pwsh
run: |
Start-Process -FilePath "C:\Temp\stackql.exe" `
-ArgumentList "-v", "--pgsrv.port=5444", "srv"
-ArgumentList "-v", "--pgsrv.port=5466", "srv"
Start-Sleep -Seconds 5

- name: Run server tests
Expand Down
4 changes: 2 additions & 2 deletions pystackql/core/stackql.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class StackQL:
(`server_mode` only, defaults to `'127.0.0.1'`)
:type server_address: str, optional
:param server_port: The port of the StackQL server
(`server_mode` only, defaults to `5444`)
(`server_mode` only, defaults to `5466`)
:type server_port: int, optional
:param backend_storage_mode: Specifies backend storage mode, options are 'memory' and 'file'
(defaults to `'memory'`, this option is ignored in `server_mode`)
Expand Down Expand Up @@ -119,7 +119,7 @@ class StackQL:
def __init__(self,
server_mode=False,
server_address='127.0.0.1',
server_port=5444,
server_port=5466,
output='dict',
sep=',',
header=False,
Expand Down
2 changes: 1 addition & 1 deletion start-stackql-server.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# start server if not running
echo "checking if server is running"
if [ -z "$(ps | grep stackql)" ]; then
nohup ./stackql -v --pgsrv.port=5444 srv &
nohup ./stackql -v --pgsrv.port=5466 srv &
sleep 5
else
echo "server is already running"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pandas as pd

# Server connection settings
SERVER_PORT = 5444
SERVER_PORT = 5466
SERVER_ADDRESS = "127.0.0.1"

# Expected properties and patterns for validation
Expand Down