Skip to content

Commit a9df0bd

Browse files
authored
v3.0.3 (#30)
* v3.0.3 * v3.0.3 * v3.0.3 --------- Co-authored-by: ddc <ddc@users.noreply.github.com>
1 parent 2249ac5 commit a9df0bd

52 files changed

Lines changed: 4860 additions & 3069 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,36 @@
1-
text eol=lf
1+
# Default: normalize line endings to LF
2+
* text=auto eol=lf
3+
4+
# Python sources
5+
*.py text eol=lf diff=python
6+
*.pyi text eol=lf diff=python
7+
8+
# Config/data files
9+
*.cfg text eol=lf
10+
*.ini text eol=lf
11+
*.toml text eol=lf
12+
*.yaml text eol=lf
13+
*.yml text eol=lf
14+
*.json text eol=lf
15+
*.md text eol=lf
16+
*.rst text eol=lf
17+
*.txt text eol=lf
18+
*.env text eol=lf
19+
20+
# Binary files (prevent corruption)
21+
*.db binary
22+
*.sqlite binary
23+
*.png binary
24+
*.jpg binary
25+
*.jpeg binary
26+
*.gif binary
27+
*.ico binary
28+
*.whl binary
29+
30+
# Export-ignore (excluded from git archive / GitHub source downloads)
31+
.gitattributes export-ignore
32+
.gitignore export-ignore
33+
.github/ export-ignore
34+
tests/ export-ignore
35+
junit.xml export-ignore
36+
coverage.xml export-ignore

.github/workflows/workflow.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,43 @@ jobs:
5252
report_type: test_results
5353

5454

55+
integration-test:
56+
name: Integration Tests
57+
runs-on: ubuntu-latest
58+
steps:
59+
- uses: actions/checkout@v6
60+
61+
- name: Install uv
62+
uses: astral-sh/setup-uv@v7
63+
64+
- name: Set up Python 3.14
65+
run: uv python install 3.14
66+
67+
- name: Install dependencies
68+
run: |
69+
uv venv
70+
uv pip install -e .[integration]
71+
shell: bash
72+
73+
- name: Install ODBC driver for MSSQL
74+
run: |
75+
UBUNTU_VERSION=$(lsb_release -rs)
76+
UBUNTU_CODENAME=$(lsb_release -cs)
77+
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --batch --yes --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
78+
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/ubuntu/${UBUNTU_VERSION}/prod ${UBUNTU_CODENAME} main" | sudo tee /etc/apt/sources.list.d/mssql-release.list
79+
sudo apt-get update
80+
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
81+
shell: bash
82+
83+
- name: Run integration tests
84+
run: uv run pytest tests/integration -v --no-cov
85+
shell: bash
86+
87+
5588
build:
5689
name: Build package
5790
runs-on: ubuntu-latest
58-
needs: [test]
91+
needs: [test, integration-test]
5992
if: startsWith(github.ref, 'refs/tags/v')
6093
steps:
6194
- uses: actions/checkout@v6

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ dmypy.json
153153
cython_debug/
154154

155155
# PyCharm
156-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158-
# and can be added to the global gitignore or merged into this file. For a more nuclear
159-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160156
.idea/
157+
158+
# Custom
161159
/junit.xml
160+
*.prof

0 commit comments

Comments
 (0)